Luminance
0.078
Category
Purple
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#7B1FA27B1FA2RGB
rgb(123, 31, 162)R:123 G:31 B:162HSL
hsl(282, 68%, 38%)H:282° S:68% L:38%HSV / HSB
hsv(282, 81%, 64%)H:282° S:81% V:64%CMYK
cmyk(24%, 81%, 0%, 36%)C:24 M:81 Y:0 K:36LAB
lab(34, 58, -51)L:34 a:58 b:-51OKLCH
oklch(45.3% 0.199 313.0)L:45.3% C:0.199 H:313.0°Code Formats
color: #7B1FA2;UIColor(red: 0.482, green: 0.122, blue: 0.635, alpha: 1.0)Color(0xFF7B1FA2)Color(0xFF7B1FA2)#FF7B1FA2Contrast Analysis
WCAG compliance with grayscale colors
On White
8.20:1
On Black
2.56:1
Grayscale Contrast
0%
2.6
Fail10%
2.1
Fail20%
1.5
Fail30%
1.0
Fail40%
1.4
Fail50%
2.0
Fail60%
2.9
Fail70%
3.9
AA-large80%
5.1
AA90%
6.5
AA100%
8.2
AAABest Grayscale Contrast
#FFFFFF with ratio 8.20:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #B14BDD 0%, #51146B 100%)linear-gradient(90deg, oklch(60.9% 0.222 313.9) 0%, oklch(34.0% 0.144 313.2) 100%)Vibrant
135°linear-gradient(135deg, #A315E0 0%, #8C07C5 100%)linear-gradient(135deg, oklch(55.2% 0.268 311.2) 0%, oklch(49.4% 0.246 310.4) 100%)Complementary
90°linear-gradient(90deg, #7B1FA2 0%, #47A31F 100%)linear-gradient(90deg, oklch(45.3% 0.199 313.0) 0%, oklch(63.5% 0.184 138.5) 100%)Analogous
90°linear-gradient(90deg, #391FA3 0%, #7B1FA2 50%, #A31F88 100%)linear-gradient(90deg, oklch(37.7% 0.194 280.8) 0%, oklch(45.3% 0.199 313.0) 50%, oklch(49.9% 0.196 338.2) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #7B1FA3 0%, #23132A 100%)linear-gradient(180deg, oklch(45.4% 0.200 312.6) 0%, oklch(22.0% 0.049 314.9) 100%)Radial Glow
Radialradial-gradient(circle, #A836D9 0%, #611881 100%)radial-gradient(circle, oklch(57.3% 0.239 313.2) 0%, oklch(38.5% 0.167 312.7) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.