#7F33C4#7F33C4
#7F33C4 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.212 H 303.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F33C4 |
|---|---|
| RGB | rgb(127, 51, 196) |
| HSL | hsl(271, 59%, 48%) |
| HSV | hsv(271, 74%, 77%) |
| CMYK | cmyk(35.2%, 74%, 0%, 23.1%) |
| CIE-LAB | lab(39.35, 58.30, -62.15) |
| CIE-LCH | lch(39.35, 85.21, 313.17°) |
| OKLab | oklab(50.33% 0.1164 -0.1771) |
| OKLCH | oklch(50.33% 0.212 303.3) |
| XYZ | xyz(19.8977, 10.8652, 53.2628) |
| Luminance | 0.1086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.14
Darkviolet
#9400D3
ΔE00 4.52
Darkorchid
#9932CC
ΔE00 4.70
Burple
#6832E3
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 5.64
Bluish Purple
#703BE7
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F33C4 #78C433
analogous
#3633C4 #7F33C4 #C433C0
triadic
#7F33C4 #C47F33 #33C47F
tetradic
#7F33C4 #C43633 #78C433 #33C0C4
square
#7F33C4 #C43633 #78C433 #33C0C4
split-complementary
#7F33C4 #C0C433 #33C436
monochromatic
#401A63 #602693 #7F33C4 #9D5FD5 #BB8FE2
Accessibility & contrast
On white
6.62
#7F33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7F33C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F33C4
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F33C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F33C4 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#715779
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f33c4; /* rgb */ color: rgb(127, 51, 196); /* oklch */ color: oklch(50.3% 0.212 303.3);
Tailwind
colors: {
custom: {
50: '#aa72d7',
500: '#7f33c4',
950: '#000000',
},
}SCSS
$custom: #7f33c4; $custom-light: #aa72d7; $custom-dark: #000000;
JSON
{
"hex": "#7f33c4",
"rgb": {
"r": 127,
"g": 51,
"b": 196
},
"hsl": {
"h": 271.448,
"s": 58.704,
"l": 48.431
},
"oklch": {
"l": 0.50335,
"c": 0.21191,
"h": 303.3
},
"luminance": 0.10865
}Semantic roles & 50–950 ramp
primary
#7F33C4
secondary
#A8CD86
accent
#E24690
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83