#7F33C6#7F33C6
#7F33C6 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.214 H 302.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7F33C6 |
|---|---|
| RGB | rgb(127, 51, 198) |
| HSL | hsl(271, 59%, 49%) |
| HSV | hsv(271, 74%, 78%) |
| CMYK | cmyk(35.9%, 74.2%, 0%, 22.4%) |
| CIE-LAB | lab(39.51, 58.77, -63.06) |
| CIE-LCH | lch(39.51, 86.20, 312.98°) |
| OKLab | oklab(50.49% 0.116 -0.1798) |
| OKLCH | oklch(50.49% 0.214 302.8) |
| XYZ | xyz(20.1269, 10.9569, 54.4697) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.89
Darkviolet
#9400D3
ΔE00 4.47
Darkorchid
#9932CC
ΔE00 4.67
Burple
#6832E3
ΔE00 5.37
Bluish Purple
#703BE7
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F33C6 #7AC633
analogous
#3533C6 #7F33C6 #C633C4
triadic
#7F33C6 #C67F33 #33C67F
tetradic
#7F33C6 #C63533 #7AC633 #33C4C6
square
#7F33C6 #C63533 #7AC633 #33C4C6
split-complementary
#7F33C6 #C4C633 #33C635
monochromatic
#411A65 #602695 #7F33C6 #9D60D6 #BB91E3
Accessibility & contrast
On white
6.58
#7F33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7F33C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F33C6
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F33C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F33C6 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#70587A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f33c6; /* rgb */ color: rgb(127, 51, 198); /* oklch */ color: oklch(50.5% 0.214 302.8);
Tailwind
colors: {
custom: {
50: '#aa72d8',
500: '#7f33c6',
950: '#000000',
},
}SCSS
$custom: #7f33c6; $custom-light: #aa72d8; $custom-dark: #000000;
JSON
{
"hex": "#7f33c6",
"rgb": {
"r": 127,
"g": 51,
"b": 198
},
"hsl": {
"h": 271.02,
"s": 59.036,
"l": 48.824
},
"oklch": {
"l": 0.50493,
"c": 0.21393,
"h": 302.8
},
"luminance": 0.10957
}Semantic roles & 50–950 ramp
primary
#7F33C6
secondary
#A9CD87
accent
#E24691
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83