#8F2CA9#8F2CA9
#8F2CA9 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 318.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CA9 |
|---|---|
| RGB | rgb(143, 44, 169) |
| HSL | hsl(288, 59%, 42%) |
| HSV | hsv(288, 74%, 66%) |
| CMYK | cmyk(15.4%, 74%, 0%, 33.7%) |
| CIE-LAB | lab(38.74, 58.40, -47.10) |
| CIE-LCH | lch(38.74, 75.02, 321.12°) |
| OKLab | oklab(49.77% 0.1485 -0.1323) |
| OKLCH | oklch(49.77% 0.199 318.3) |
| XYZ | xyz(19.3888, 10.5065, 38.5351) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.34
Purple (survey)
#7E1E9C
ΔE00 4.42
Barney
#AC1DB8
ΔE00 5.11
Barney Purple
#A00498
ΔE00 5.37
Warm Purple
#952E8F
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CA9 #46A92C
analogous
#512CA9 #8F2CA9 #A92C85
triadic
#8F2CA9 #A98F2C #2CA98F
tetradic
#8F2CA9 #A9512C #46A92C #2C85A9
square
#8F2CA9 #A9512C #46A92C #2C85A9
split-complementary
#8F2CA9 #85A92C #2CA951
monochromatic
#3D1348 #661F78 #8F2CA9 #B244CE #C674DB
Accessibility & contrast
On white
6.77
#8F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8F2CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CA9
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CA9 | 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)
#0055AC
Deuteranopia (green-blind)
#325EA6
Tritanopia (blue-blind)
#8E4668
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2ca9; /* rgb */ color: rgb(143, 44, 169); /* oklch */ color: oklch(49.8% 0.199 318.3);
Tailwind
colors: {
custom: {
50: '#b46fc3',
500: '#8f2ca9',
950: '#000000',
},
}SCSS
$custom: #8f2ca9; $custom-light: #b46fc3; $custom-dark: #000000;
JSON
{
"hex": "#8f2ca9",
"rgb": {
"r": 143,
"g": 44,
"b": 169
},
"hsl": {
"h": 287.52,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.49765,
"c": 0.19884,
"h": 318.3
},
"luminance": 0.10506
}Semantic roles & 50–950 ramp
primary
#8F2CA9
secondary
#80C36E
accent
#E24666
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82