#8F2FA9#8F2FA9
#8F2FA9 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 318.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2FA9 |
|---|---|
| RGB | rgb(143, 47, 169) |
| HSL | hsl(287, 56%, 42%) |
| HSV | hsv(287, 72%, 66%) |
| CMYK | cmyk(15.4%, 72.2%, 0%, 33.7%) |
| CIE-LAB | lab(39.14, 57.26, -46.45) |
| CIE-LCH | lch(39.14, 73.74, 320.95°) |
| OKLab | oklab(50.05% 0.1455 -0.1304) |
| OKLCH | oklch(50.05% 0.195 318.1) |
| XYZ | xyz(19.5046, 10.7381, 38.5737) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.93
Purple (survey)
#7E1E9C
ΔE00 4.76
Barney
#AC1DB8
ΔE00 5.06
Warm Purple
#952E8F
ΔE00 5.49
Darkorchid
#9932CC
ΔE00 5.56
Barney Purple
#A00498
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2FA9 #49A92F
analogous
#522FA9 #8F2FA9 #A92F86
triadic
#8F2FA9 #A98F2F #2FA98F
tetradic
#8F2FA9 #A9522F #49A92F #2F86A9
square
#8F2FA9 #A9522F #49A92F #2F86A9
split-complementary
#8F2FA9 #86A92F #2FA952
monochromatic
#3E1449 #662279 #8F2FA9 #B049CC #C579DA
Accessibility & contrast
On white
6.67
#8F2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#8F2FA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2FA9
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2FA9 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#345FA6
Tritanopia (blue-blind)
#8E4769
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8f2fa9; /* rgb */ color: rgb(143, 47, 169); /* oklch */ color: oklch(50.0% 0.195 318.1);
Tailwind
colors: {
custom: {
50: '#b371c3',
500: '#8f2fa9',
950: '#000000',
},
}SCSS
$custom: #8f2fa9; $custom-light: #b371c3; $custom-dark: #000000;
JSON
{
"hex": "#8f2fa9",
"rgb": {
"r": 143,
"g": 47,
"b": 169
},
"hsl": {
"h": 287.213,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.5005,
"c": 0.19539,
"h": 318.1
},
"luminance": 0.10737
}Semantic roles & 50–950 ramp
primary
#8F2FA9
secondary
#83C272
accent
#E04868
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81