#8F2CA6#8F2CA6
#8F2CA6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.196 H 319.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CA6 |
|---|---|
| RGB | rgb(143, 44, 166) |
| HSL | hsl(289, 58%, 41%) |
| HSV | hsv(289, 73%, 65%) |
| CMYK | cmyk(13.9%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(38.54, 57.82, -45.61) |
| CIE-LCH | lch(38.54, 73.65, 321.73°) |
| OKLab | oklab(49.57% 0.1487 -0.1279) |
| OKLCH | oklch(49.57% 0.196 319.3) |
| XYZ | xyz(19.1104, 10.3951, 37.0688) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.33
Purply
#983FB2
ΔE00 4.48
Barney Purple
#A00498
ΔE00 5.01
Warm Purple
#952E8F
ΔE00 5.06
Barney
#AC1DB8
ΔE00 5.22
Darkorchid
#9932CC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CA6 #43A62C
analogous
#522CA6 #8F2CA6 #A62C80
triadic
#8F2CA6 #A68F2C #2CA68F
tetradic
#8F2CA6 #A6522C #43A62C #2C80A6
square
#8F2CA6 #A6522C #43A62C #2C80A6
split-complementary
#8F2CA6 #80A62C #2CA652
monochromatic
#3C1245 #651F76 #8F2CA6 #B342CD #C673DA
Accessibility & contrast
On white
6.82
#8F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#8F2CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CA6
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CA6 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#355EA3
Tritanopia (blue-blind)
#8F4467
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2ca6; /* rgb */ color: rgb(143, 44, 166); /* oklch */ color: oklch(49.6% 0.196 319.3);
Tailwind
colors: {
custom: {
50: '#b36fc1',
500: '#8f2ca6',
950: '#000000',
},
}SCSS
$custom: #8f2ca6; $custom-light: #b36fc1; $custom-dark: #000000;
JSON
{
"hex": "#8f2ca6",
"rgb": {
"r": 143,
"g": 44,
"b": 166
},
"hsl": {
"h": 288.689,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.49565,
"c": 0.19619,
"h": 319.3
},
"luminance": 0.10394
}Semantic roles & 50–950 ramp
primary
#8F2CA6
secondary
#7DC16D
accent
#E14664
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81