#7F3CCD#7F3CCD
#7F3CCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.211 H 300.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CCD |
|---|---|
| RGB | rgb(127, 60, 205) |
| HSL | hsl(268, 59%, 52%) |
| HSV | hsv(268, 71%, 80%) |
| CMYK | cmyk(38%, 70.7%, 0%, 19.6%) |
| CIE-LAB | lab(41.46, 56.45, -63.96) |
| CIE-LCH | lch(41.46, 85.31, 311.43°) |
| OKLab | oklab(52.04% 0.1061 -0.1825) |
| OKLCH | oklch(52.04% 0.211 300.2) |
| XYZ | xyz(21.3850, 12.1513, 58.9646) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.42
Bluish Purple
#703BE7
ΔE00 4.28
Darkorchid
#9932CC
ΔE00 4.63
Bluey Purple
#6241C7
ΔE00 4.96
Burple
#6832E3
ΔE00 4.99
Darkviolet
#9400D3
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CCD #8ACD3C
analogous
#3C42CD #7F3CCD #C83CCD
triadic
#7F3CCD #CD7F3C #3CCD7F
tetradic
#7F3CCD #CD3C42 #8ACD3C #3CCDC8
square
#7F3CCD #CD3C42 #8ACD3C #3CCDC8
split-complementary
#7F3CCD #CDC83C #42CD3C
monochromatic
#441D71 #612AA2 #7F3CCD #9F6DD9 #BF9DE6
Accessibility & contrast
On white
6.12
#7F3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#7F3CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CCD
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CCD | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#6D5F81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f3ccd; /* rgb */ color: rgb(127, 60, 205); /* oklch */ color: oklch(52.0% 0.211 300.2);
Tailwind
colors: {
custom: {
50: '#aa77dd',
500: '#7f3ccd',
950: '#000000',
},
}SCSS
$custom: #7f3ccd; $custom-light: #aa77dd; $custom-dark: #000000;
JSON
{
"hex": "#7f3ccd",
"rgb": {
"r": 127,
"g": 60,
"b": 205
},
"hsl": {
"h": 267.724,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.5204,
"c": 0.21108,
"h": 300.2
},
"luminance": 0.12152
}Semantic roles & 50–950 ramp
primary
#7F3CCD
secondary
#B5D293
accent
#E2459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83