#7F33BA#7F33BA
#7F33BA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.202 H 305.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F33BA |
|---|---|
| RGB | rgb(127, 51, 186) |
| HSL | hsl(274, 57%, 46%) |
| HSV | hsv(274, 73%, 73%) |
| CMYK | cmyk(31.7%, 72.6%, 0%, 27.1%) |
| CIE-LAB | lab(38.59, 55.99, -57.52) |
| CIE-LCH | lch(38.59, 80.27, 314.23°) |
| OKLab | oklab(49.56% 0.1183 -0.1635) |
| OKLCH | oklch(49.56% 0.202 305.9) |
| XYZ | xyz(18.7972, 10.4250, 47.4668) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.04
Blueviolet
#8A2BE2
ΔE00 5.50
Purple (survey)
#7E1E9C
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F33BA #6EBA33
analogous
#3C33BA #7F33BA #BA33B2
triadic
#7F33BA #BA7F33 #33BA7F
tetradic
#7F33BA #BA3C33 #6EBA33 #33B2BA
square
#7F33BA #BA3C33 #6EBA33 #33B2BA
split-complementary
#7F33BA #B2BA33 #33BA3C
monochromatic
#3D195A #5E268A #7F33BA #9D59D1 #B989DF
Accessibility & contrast
On white
6.81
#7F33BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#7F33BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F33BA
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F33BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F33BA | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#745374
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7f33ba; /* rgb */ color: rgb(127, 51, 186); /* oklch */ color: oklch(49.6% 0.202 305.9);
Tailwind
colors: {
custom: {
50: '#a972d0',
500: '#7f33ba',
950: '#000000',
},
}SCSS
$custom: #7f33ba; $custom-light: #a972d0; $custom-dark: #000000;
JSON
{
"hex": "#7f33ba",
"rgb": {
"r": 127,
"g": 51,
"b": 186
},
"hsl": {
"h": 273.778,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.49562,
"c": 0.2018,
"h": 305.9
},
"luminance": 0.10425
}Semantic roles & 50–950 ramp
primary
#7F33BA
secondary
#A0C980
accent
#E0488A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82