#7F33C3#7F33C3
#7F33C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.211 H 303.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F33C3 |
|---|---|
| RGB | rgb(127, 51, 195) |
| HSL | hsl(272, 59%, 48%) |
| HSV | hsv(272, 74%, 76%) |
| CMYK | cmyk(34.9%, 73.8%, 0%, 23.5%) |
| CIE-LAB | lab(39.28, 58.07, -61.69) |
| CIE-LCH | lch(39.28, 84.72, 313.27°) |
| OKLab | oklab(50.26% 0.1166 -0.1757) |
| OKLCH | oklch(50.26% 0.211 303.6) |
| XYZ | xyz(19.7843, 10.8198, 52.6653) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.27
Darkviolet
#9400D3
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 5.69
Burple
#6832E3
ΔE00 5.73
Bluish Purple
#703BE7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F33C3 #77C333
analogous
#3733C3 #7F33C3 #C333BF
triadic
#7F33C3 #C37F33 #33C37F
tetradic
#7F33C3 #C33733 #77C333 #33BFC3
square
#7F33C3 #C33733 #77C333 #33BFC3
split-complementary
#7F33C3 #BFC333 #33C337
monochromatic
#401A62 #5F2692 #7F33C3 #9D5ED5 #BB8FE2
Accessibility & contrast
On white
6.64
#7F33C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#7F33C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F33C3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F33C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F33C3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#715779
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f33c3; /* rgb */ color: rgb(127, 51, 195); /* oklch */ color: oklch(50.3% 0.211 303.6);
Tailwind
colors: {
custom: {
50: '#aa72d6',
500: '#7f33c3',
950: '#000000',
},
}SCSS
$custom: #7f33c3; $custom-light: #aa72d6; $custom-dark: #000000;
JSON
{
"hex": "#7f33c3",
"rgb": {
"r": 127,
"g": 51,
"b": 195
},
"hsl": {
"h": 271.667,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.50257,
"c": 0.2109,
"h": 303.6
},
"luminance": 0.1082
}Semantic roles & 50–950 ramp
primary
#7F33C3
secondary
#A7CC86
accent
#E24690
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83