#8F2CA1#8F2CA1
#8F2CA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.192 H 321.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2CA1 |
|---|---|
| RGB | rgb(143, 44, 161) |
| HSL | hsl(291, 57%, 40%) |
| HSV | hsv(291, 73%, 63%) |
| CMYK | cmyk(11.2%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(38.23, 56.87, -43.12) |
| CIE-LCH | lch(38.23, 71.37, 322.83°) |
| OKLab | oklab(49.24% 0.1491 -0.1206) |
| OKLCH | oklch(49.24% 0.192 321) |
| XYZ | xyz(18.6607, 10.2152, 34.7001) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.22
Purple (survey)
#7E1E9C
ΔE00 4.33
Barney Purple
#A00498
ΔE00 4.45
Purply
#983FB2
ΔE00 4.83
Barney
#AC1DB8
ΔE00 5.49
Darkmagenta
#8B008B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2CA1 #3EA12C
analogous
#542CA1 #8F2CA1 #A12C79
triadic
#8F2CA1 #A18F2C #2CA18F
tetradic
#8F2CA1 #A1542C #3EA12C #2C79A1
square
#8F2CA1 #A1542C #3EA12C #2C79A1
split-complementary
#8F2CA1 #79A12C #2CA154
monochromatic
#3A1241 #641F71 #8F2CA1 #B540CB #C870D8
Accessibility & contrast
On white
6.90
#8F2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#8F2CA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2CA1
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2CA1 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#395E9E
Tritanopia (blue-blind)
#904264
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8f2ca1; /* rgb */ color: rgb(143, 44, 161); /* oklch */ color: oklch(49.2% 0.192 321.0);
Tailwind
colors: {
custom: {
50: '#b36fbd',
500: '#8f2ca1',
950: '#000000',
},
}SCSS
$custom: #8f2ca1; $custom-light: #b36fbd; $custom-dark: #000000;
JSON
{
"hex": "#8f2ca1",
"rgb": {
"r": 143,
"g": 44,
"b": 161
},
"hsl": {
"h": 290.769,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.49239,
"c": 0.1918,
"h": 321
},
"luminance": 0.10214
}Semantic roles & 50–950 ramp
primary
#8F2CA1
secondary
#77BF6A
accent
#E0475F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81