#7F3499#7F3499
#7F3499 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.167 H 316.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3499 |
|---|---|
| RGB | rgb(127, 52, 153) |
| HSL | hsl(285, 49%, 40%) |
| HSV | hsv(285, 66%, 60%) |
| CMYK | cmyk(17%, 66%, 0%, 40%) |
| CIE-LAB | lab(36.50, 48.23, -41.19) |
| CIE-LCH | lch(36.50, 63.43, 319.50°) |
| OKLab | oklab(47.35% 0.1207 -0.1156) |
| OKLCH | oklch(47.35% 0.167 316.3) |
| XYZ | xyz(15.7293, 9.2685, 31.0913) |
| Luminance | 0.0927 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.69
Rebeccapurple
#663399
ΔE00 5.27
Warm Purple
#952E8F
ΔE00 5.62
Darkmagenta
#8B008B
ΔE00 6.27
Purply
#983FB2
ΔE00 6.36
Barney Purple
#A00498
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3499 #4E9934
analogous
#4C3499 #7F3499 #993481
triadic
#7F3499 #997F34 #34997F
tetradic
#7F3499 #994C34 #4E9934 #348199
square
#7F3499 #994C34 #4E9934 #348199
split-complementary
#7F3499 #819934 #34994C
monochromatic
#33153E #59246B #7F3499 #A249C1 #BA77D1
Accessibility & contrast
On white
7.36
#7F3499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#7F3499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F3499
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3499 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#345897
Tritanopia (blue-blind)
#7E4762
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7f3499; /* rgb */ color: rgb(127, 52, 153); /* oklch */ color: oklch(47.3% 0.167 316.3);
Tailwind
colors: {
custom: {
50: '#a771b7',
500: '#7f3499',
950: '#000000',
},
}SCSS
$custom: #7f3499; $custom-light: #a771b7; $custom-dark: #000000;
JSON
{
"hex": "#7f3499",
"rgb": {
"r": 127,
"g": 52,
"b": 153
},
"hsl": {
"h": 284.554,
"s": 49.268,
"l": 40.196
},
"oklch": {
"l": 0.47345,
"c": 0.16712,
"h": 316.3
},
"luminance": 0.09268
}Semantic roles & 50–950 ramp
primary
#7F3499
secondary
#83B970
accent
#D94F72
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80