#8F2FAE#8F2FAE
#8F2FAE is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 316.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2FAE |
|---|---|
| RGB | rgb(143, 47, 174) |
| HSL | hsl(285, 57%, 43%) |
| HSV | hsv(285, 73%, 68%) |
| CMYK | cmyk(17.8%, 73%, 0%, 31.8%) |
| CIE-LAB | lab(39.46, 58.25, -48.91) |
| CIE-LCH | lch(39.46, 76.06, 319.98°) |
| OKLab | oklab(50.39% 0.145 -0.1376) |
| OKLCH | oklch(50.39% 0.2 316.5) |
| XYZ | xyz(19.9830, 10.9295, 41.0932) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.81
Darkorchid
#9932CC
ΔE00 4.80
Barney
#AC1DB8
ΔE00 4.99
Purple (survey)
#7E1E9C
ΔE00 5.02
Darkviolet
#9400D3
ΔE00 5.87
Barney Purple
#A00498
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2FAE #4EAE2F
analogous
#4F2FAE #8F2FAE #AE2F8D
triadic
#8F2FAE #AE8F2F #2FAE8F
tetradic
#8F2FAE #AE4F2F #4EAE2F #2F8DAE
square
#8F2FAE #AE4F2F #4EAE2F #2F8DAE
split-complementary
#8F2FAE #8DAE2F #2FAE4F
monochromatic
#40154E #67227E #8F2FAE #AF4CCF #C47CDC
Accessibility & contrast
On white
6.59
#8F2FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#8F2FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2FAE
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2FAE | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2F60AB
Tritanopia (blue-blind)
#8D496C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #8f2fae; /* rgb */ color: rgb(143, 47, 174); /* oklch */ color: oklch(50.4% 0.200 316.5);
Tailwind
colors: {
custom: {
50: '#b471c7',
500: '#8f2fae',
950: '#000000',
},
}SCSS
$custom: #8f2fae; $custom-light: #b471c7; $custom-dark: #000000;
JSON
{
"hex": "#8f2fae",
"rgb": {
"r": 143,
"g": 47,
"b": 174
},
"hsl": {
"h": 285.354,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.50385,
"c": 0.19992,
"h": 316.5
},
"luminance": 0.10929
}Semantic roles & 50–950 ramp
primary
#8F2FAE
secondary
#88C475
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82