#8F2BAC#8F2BAC
#8F2BAC is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.203 H 317.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2BAC |
|---|---|
| RGB | rgb(143, 43, 172) |
| HSL | hsl(287, 60%, 42%) |
| HSV | hsv(287, 75%, 67%) |
| CMYK | cmyk(16.9%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(38.81, 59.35, -48.77) |
| CIE-LCH | lch(38.81, 76.82, 320.59°) |
| OKLab | oklab(49.88% 0.1491 -0.1372) |
| OKLCH | oklch(49.88% 0.203 317.4) |
| XYZ | xyz(19.6369, 10.5468, 40.0231) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.38
Purple (survey)
#7E1E9C
ΔE00 4.47
Barney
#AC1DB8
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.30
Barney Purple
#A00498
ΔE00 5.70
Darkviolet
#9400D3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2BAC #48AC2B
analogous
#4F2BAC #8F2BAC #AC2B88
triadic
#8F2BAC #AC8F2B #2BAC8F
tetradic
#8F2BAC #AC4F2B #48AC2B #2B88AC
square
#8F2BAC #AC4F2B #48AC2B #2B88AC
split-complementary
#8F2BAC #88AC2B #2BAC4F
monochromatic
#3E134A #661F7B #8F2BAC #B144D0 #C575DC
Accessibility & contrast
On white
6.75
#8F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#8F2BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2BAC
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2BAC | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2E5EA9
Tritanopia (blue-blind)
#8E466A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2bac; /* rgb */ color: rgb(143, 43, 172); /* oklch */ color: oklch(49.9% 0.203 317.4);
Tailwind
colors: {
custom: {
50: '#b46fc5',
500: '#8f2bac',
950: '#000000',
},
}SCSS
$custom: #8f2bac; $custom-light: #b46fc5; $custom-dark: #000000;
JSON
{
"hex": "#8f2bac",
"rgb": {
"r": 143,
"g": 43,
"b": 172
},
"hsl": {
"h": 286.512,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.49878,
"c": 0.20259,
"h": 317.4
},
"luminance": 0.10546
}Semantic roles & 50–950 ramp
primary
#8F2BAC
secondary
#82C46F
accent
#E34568
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82