#8F2DA7#8F2DA7
#8F2DA7 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.196 H 318.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2DA7 |
|---|---|
| RGB | rgb(143, 45, 167) |
| HSL | hsl(288, 58%, 42%) |
| HSV | hsv(288, 73%, 65%) |
| CMYK | cmyk(14.4%, 73.1%, 0%, 34.5%) |
| CIE-LAB | lab(38.74, 57.64, -45.90) |
| CIE-LCH | lch(38.74, 73.68, 321.47°) |
| OKLab | oklab(49.73% 0.1477 -0.1288) |
| OKLCH | oklch(49.73% 0.196 318.9) |
| XYZ | xyz(19.2402, 10.5073, 37.5664) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.29
Purple (survey)
#7E1E9C
ΔE00 4.46
Barney
#AC1DB8
ΔE00 5.16
Barney Purple
#A00498
ΔE00 5.19
Warm Purple
#952E8F
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2DA7 #45A72D
analogous
#522DA7 #8F2DA7 #A72D82
triadic
#8F2DA7 #A78F2D #2DA78F
tetradic
#8F2DA7 #A7522D #45A72D #2D82A7
square
#8F2DA7 #A7522D #45A72D #2D82A7
split-complementary
#8F2DA7 #82A72D #2DA752
monochromatic
#3C1347 #662077 #8F2DA7 #B244CD #C675DA
Accessibility & contrast
On white
6.77
#8F2DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8F2DA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2DA7
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2DA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2DA7 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#8F4567
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2da7; /* rgb */ color: rgb(143, 45, 167); /* oklch */ color: oklch(49.7% 0.196 318.9);
Tailwind
colors: {
custom: {
50: '#b370c2',
500: '#8f2da7',
950: '#000000',
},
}SCSS
$custom: #8f2da7; $custom-light: #b370c2; $custom-dark: #000000;
JSON
{
"hex": "#8f2da7",
"rgb": {
"r": 143,
"g": 45,
"b": 167
},
"hsl": {
"h": 288.197,
"s": 57.547,
"l": 41.569
},
"oklch": {
"l": 0.49725,
"c": 0.19593,
"h": 318.9
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#8F2DA7
secondary
#7FC16E
accent
#E14765
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81