#7F2CB6#7F2CB6
#7F2CB6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.206 H 307.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CB6 |
|---|---|
| RGB | rgb(127, 44, 182) |
| HSL | hsl(276, 61%, 44%) |
| HSV | hsv(276, 76%, 71%) |
| CMYK | cmyk(30.2%, 75.8%, 0%, 28.6%) |
| CIE-LAB | lab(37.28, 57.97, -57.29) |
| CIE-LCH | lch(37.28, 81.50, 315.34°) |
| OKLab | oklab(48.54% 0.1256 -0.1628) |
| OKLCH | oklch(48.54% 0.206 307.7) |
| XYZ | xyz(18.0948, 9.6910, 45.1642) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.73
Darkviolet
#9400D3
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 6.25
Purply
#983FB2
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CB6 #63B62C
analogous
#3A2CB6 #7F2CB6 #B62CA8
triadic
#7F2CB6 #B67F2C #2CB67F
tetradic
#7F2CB6 #B63A2C #63B62C #2CA8B6
square
#7F2CB6 #B63A2C #63B62C #2CA8B6
split-complementary
#7F2CB6 #A8B62C #2CB63A
monochromatic
#3A1453 #5D2085 #7F2CB6 #9D4CD4 #B87DE0
Accessibility & contrast
On white
7.15
#7F2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#7F2CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2CB6
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CB6 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#764E70
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7f2cb6; /* rgb */ color: rgb(127, 44, 182); /* oklch */ color: oklch(48.5% 0.206 307.7);
Tailwind
colors: {
custom: {
50: '#a96ecd',
500: '#7f2cb6',
950: '#000000',
},
}SCSS
$custom: #7f2cb6; $custom-light: #a96ecd; $custom-dark: #000000;
JSON
{
"hex": "#7f2cb6",
"rgb": {
"r": 127,
"g": 44,
"b": 182
},
"hsl": {
"h": 276.087,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.48541,
"c": 0.20561,
"h": 307.7
},
"luminance": 0.09691
}Semantic roles & 50–950 ramp
primary
#7F2CB6
secondary
#97C876
accent
#E44484
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82