#8F2BA6#8F2BA6
#8F2BA6 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.197 H 319.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2BA6 |
|---|---|
| RGB | rgb(143, 43, 166) |
| HSL | hsl(289, 59%, 41%) |
| HSV | hsv(289, 74%, 65%) |
| CMYK | cmyk(13.9%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(38.41, 58.19, -45.82) |
| CIE-LCH | lch(38.41, 74.06, 321.78°) |
| OKLab | oklab(49.47% 0.1497 -0.1285) |
| OKLCH | oklch(49.47% 0.197 319.3) |
| XYZ | xyz(19.0736, 10.3215, 37.0566) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.22
Purply
#983FB2
ΔE00 4.61
Barney Purple
#A00498
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 5.09
Barney
#AC1DB8
ΔE00 5.24
Darkmagenta
#8B008B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2BA6 #42A62B
analogous
#512BA6 #8F2BA6 #A62B7F
triadic
#8F2BA6 #A68F2B #2BA68F
tetradic
#8F2BA6 #A6512B #42A62B #2B7FA6
square
#8F2BA6 #A6512B #42A62B #2B7FA6
split-complementary
#8F2BA6 #7FA62B #2BA651
monochromatic
#3B1245 #651E75 #8F2BA6 #B341CE #C771DA
Accessibility & contrast
On white
6.85
#8F2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8F2BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2BA6
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2BA6 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#8F4466
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8f2ba6; /* rgb */ color: rgb(143, 43, 166); /* oklch */ color: oklch(49.5% 0.197 319.3);
Tailwind
colors: {
custom: {
50: '#b46fc1',
500: '#8f2ba6',
950: '#000000',
},
}SCSS
$custom: #8f2ba6; $custom-light: #b46fc1; $custom-dark: #000000;
JSON
{
"hex": "#8f2ba6",
"rgb": {
"r": 143,
"g": 43,
"b": 166
},
"hsl": {
"h": 288.78,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.49474,
"c": 0.19732,
"h": 319.3
},
"luminance": 0.10321
}Semantic roles & 50–950 ramp
primary
#8F2BA6
secondary
#7BC16B
accent
#E24663
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81