#7F2599#7F2599
#7F2599 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.186 H 317.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2599 |
|---|---|
| RGB | rgb(127, 37, 153) |
| HSL | hsl(287, 61%, 37%) |
| HSV | hsv(287, 76%, 60%) |
| CMYK | cmyk(17%, 75.8%, 0%, 40%) |
| CIE-LAB | lab(34.26, 54.52, -44.77) |
| CIE-LCH | lch(34.26, 70.55, 320.61°) |
| OKLab | oklab(45.75% 0.137 -0.1259) |
| OKLCH | oklch(45.75% 0.186 317.4) |
| XYZ | xyz(15.1629, 8.1357, 30.9025) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 1.19
Darkmagenta
#8B008B
ΔE00 4.56
Rebeccapurple
#663399
ΔE00 5.41
Purple
#800080
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 6.31
Barney Purple
#A00498
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2599 #3F9925
analogous
#452599 #7F2599 #992579
triadic
#7F2599 #997F25 #25997F
tetradic
#7F2599 #994525 #3F9925 #257999
square
#7F2599 #994525 #3F9925 #257999
split-complementary
#7F2599 #799925 #259945
monochromatic
#2D0D36 #561968 #7F2599 #A831CA #BD60D9
Accessibility & contrast
On white
7.99
#7F2599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#7F2599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2599
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2599 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#7E3E5D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #7f2599; /* rgb */ color: rgb(127, 37, 153); /* oklch */ color: oklch(45.7% 0.186 317.4);
Tailwind
colors: {
custom: {
50: '#a869b8',
500: '#7f2599',
950: '#000000',
},
}SCSS
$custom: #7f2599; $custom-light: #a869b8; $custom-dark: #000000;
JSON
{
"hex": "#7f2599",
"rgb": {
"r": 127,
"g": 37,
"b": 153
},
"hsl": {
"h": 286.552,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.45749,
"c": 0.18608,
"h": 317.4
},
"luminance": 0.08135
}Semantic roles & 50–950 ramp
primary
#7F2599
secondary
#72BE5C
accent
#E44468
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80