#7F3CCA#7F3CCA
#7F3CCA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.208 H 300.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CCA |
|---|---|
| RGB | rgb(127, 60, 202) |
| HSL | hsl(268, 57%, 51%) |
| HSV | hsv(268, 70%, 79%) |
| CMYK | cmyk(37.1%, 70.3%, 0%, 20.8%) |
| CIE-LAB | lab(41.23, 55.72, -62.59) |
| CIE-LCH | lch(41.23, 83.80, 311.68°) |
| OKLab | oklab(51.81% 0.1067 -0.1784) |
| OKLCH | oklch(51.81% 0.208 300.9) |
| XYZ | xyz(21.0263, 12.0079, 57.0757) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.71
Darkorchid
#9932CC
ΔE00 4.56
Bluish Purple
#703BE7
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.00
Burple
#6832E3
ΔE00 5.26
Darkviolet
#9400D3
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CCA #87CA3C
analogous
#3C40CA #7F3CCA #C63CCA
triadic
#7F3CCA #CA7F3C #3CCA7F
tetradic
#7F3CCA #CA3C40 #87CA3C #3CCAC6
square
#7F3CCA #CA3C40 #87CA3C #3CCAC6
split-complementary
#7F3CCA #CAC63C #40CA3C
monochromatic
#441E6E #612B9E #7F3CCA #9F6CD7 #BE9CE4
Accessibility & contrast
On white
6.17
#7F3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7F3CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CCA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CCA | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6E5E7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7f3cca; /* rgb */ color: rgb(127, 60, 202); /* oklch */ color: oklch(51.8% 0.208 300.9);
Tailwind
colors: {
custom: {
50: '#aa77db',
500: '#7f3cca',
950: '#000000',
},
}SCSS
$custom: #7f3cca; $custom-light: #aa77db; $custom-dark: #000000;
JSON
{
"hex": "#7f3cca",
"rgb": {
"r": 127,
"g": 60,
"b": 202
},
"hsl": {
"h": 268.31,
"s": 57.258,
"l": 51.373
},
"oklch": {
"l": 0.51808,
"c": 0.20789,
"h": 300.9
},
"luminance": 0.12008
}Semantic roles & 50–950 ramp
primary
#7F3CCA
secondary
#B3D092
accent
#E14798
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83