#8F2CA7#8F2CA7
#8F2CA7 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 319.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CA7 |
|---|---|
| RGB | rgb(143, 44, 167) |
| HSL | hsl(288, 58%, 41%) |
| HSV | hsv(288, 74%, 65%) |
| CMYK | cmyk(14.4%, 73.7%, 0%, 34.5%) |
| CIE-LAB | lab(38.61, 58.01, -46.11) |
| CIE-LCH | lch(38.61, 74.11, 321.52°) |
| OKLab | oklab(49.63% 0.1486 -0.1294) |
| OKLCH | oklch(49.63% 0.197 319) |
| XYZ | xyz(19.2025, 10.4319, 37.5538) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.35
Purply
#983FB2
ΔE00 4.43
Barney Purple
#A00498
ΔE00 5.13
Barney
#AC1DB8
ΔE00 5.18
Warm Purple
#952E8F
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CA7 #44A72C
analogous
#522CA7 #8F2CA7 #A72C82
triadic
#8F2CA7 #A78F2C #2CA78F
tetradic
#8F2CA7 #A7522C #44A72C #2C82A7
square
#8F2CA7 #A7522C #44A72C #2C82A7
split-complementary
#8F2CA7 #82A72C #2CA752
monochromatic
#3C1246 #661F77 #8F2CA7 #B243CD #C673DA
Accessibility & contrast
On white
6.80
#8F2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8F2CA7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CA7
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CA7 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#8F4567
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2ca7; /* rgb */ color: rgb(143, 44, 167); /* oklch */ color: oklch(49.6% 0.197 319.0);
Tailwind
colors: {
custom: {
50: '#b46fc2',
500: '#8f2ca7',
950: '#000000',
},
}SCSS
$custom: #8f2ca7; $custom-light: #b46fc2; $custom-dark: #000000;
JSON
{
"hex": "#8f2ca7",
"rgb": {
"r": 143,
"g": 44,
"b": 167
},
"hsl": {
"h": 288.293,
"s": 58.294,
"l": 41.373
},
"oklch": {
"l": 0.49632,
"c": 0.19707,
"h": 319
},
"luminance": 0.10431
}Semantic roles & 50–950 ramp
primary
#8F2CA7
secondary
#7EC26D
accent
#E24665
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81