#8F2CAA#8F2CAA
#8F2CAA is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.200 H 318.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CAA |
|---|---|
| RGB | rgb(143, 44, 170) |
| HSL | hsl(287, 59%, 42%) |
| HSV | hsv(287, 74%, 67%) |
| CMYK | cmyk(15.9%, 74.1%, 0%, 33.3%) |
| CIE-LAB | lab(38.80, 58.59, -47.59) |
| CIE-LCH | lch(38.80, 75.48, 320.92°) |
| OKLab | oklab(49.83% 0.1483 -0.1337) |
| OKLCH | oklch(49.83% 0.2 318) |
| XYZ | xyz(19.4830, 10.5442, 39.0314) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.30
Purple (survey)
#7E1E9C
ΔE00 4.47
Barney
#AC1DB8
ΔE00 5.09
Barney Purple
#A00498
ΔE00 5.50
Darkorchid
#9932CC
ΔE00 5.54
Warm Purple
#952E8F
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CAA #47AA2C
analogous
#502CAA #8F2CAA #AA2C86
triadic
#8F2CAA #AA8F2C #2CAA8F
tetradic
#8F2CAA #AA502C #47AA2C #2C86AA
square
#8F2CAA #AA502C #47AA2C #2C86AA
split-complementary
#8F2CAA #86AA2C #2CAA50
monochromatic
#3D1349 #661F79 #8F2CAA #B144CF #C575DB
Accessibility & contrast
On white
6.76
#8F2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8F2CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CAA
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CAA | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#315EA7
Tritanopia (blue-blind)
#8E4669
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2caa; /* rgb */ color: rgb(143, 44, 170); /* oklch */ color: oklch(49.8% 0.200 318.0);
Tailwind
colors: {
custom: {
50: '#b46fc4',
500: '#8f2caa',
950: '#000000',
},
}SCSS
$custom: #8f2caa; $custom-light: #b46fc4; $custom-dark: #000000;
JSON
{
"hex": "#8f2caa",
"rgb": {
"r": 143,
"g": 44,
"b": 170
},
"hsl": {
"h": 287.143,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.49833,
"c": 0.19972,
"h": 318
},
"luminance": 0.10543
}Semantic roles & 50–950 ramp
primary
#8F2CAA
secondary
#81C36F
accent
#E24667
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82