#7F2CB5#7F2CB5
#7F2CB5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.205 H 307.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CB5 |
|---|---|
| RGB | rgb(127, 44, 181) |
| HSL | hsl(276, 61%, 44%) |
| HSV | hsv(276, 76%, 71%) |
| CMYK | cmyk(29.8%, 75.7%, 0%, 29%) |
| CIE-LAB | lab(37.21, 57.75, -56.82) |
| CIE-LCH | lch(37.21, 81.02, 315.46°) |
| OKLab | oklab(48.46% 0.1258 -0.1614) |
| OKLCH | oklch(48.46% 0.205 307.9) |
| XYZ | xyz(17.9918, 9.6499, 44.6219) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.59
Darkviolet
#9400D3
ΔE00 4.97
Rebeccapurple
#663399
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 5.80
Blueviolet
#8A2BE2
ΔE00 6.39
Purply
#983FB2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CB5 #62B52C
analogous
#3A2CB5 #7F2CB5 #B52CA7
triadic
#7F2CB5 #B57F2C #2CB57F
tetradic
#7F2CB5 #B53A2C #62B52C #2CA7B5
square
#7F2CB5 #B53A2C #62B52C #2CA7B5
split-complementary
#7F2CB5 #A7B52C #2CB53A
monochromatic
#3A1453 #5C2084 #7F2CB5 #9E4BD3 #B87CDF
Accessibility & contrast
On white
7.17
#7F2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#7F2CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2CB5
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CB5 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#764D6F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #7f2cb5; /* rgb */ color: rgb(127, 44, 181); /* oklch */ color: oklch(48.5% 0.205 307.9);
Tailwind
colors: {
custom: {
50: '#a96ecc',
500: '#7f2cb5',
950: '#000000',
},
}SCSS
$custom: #7f2cb5; $custom-light: #a96ecc; $custom-dark: #000000;
JSON
{
"hex": "#7f2cb5",
"rgb": {
"r": 127,
"g": 44,
"b": 181
},
"hsl": {
"h": 276.35,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.48464,
"c": 0.20464,
"h": 307.9
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#7F2CB5
secondary
#96C875
accent
#E44483
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82