#8F33AB#8F33AB
#8F33AB is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.192 H 317.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8F33AB |
|---|---|
| RGB | rgb(143, 51, 171) |
| HSL | hsl(286, 54%, 44%) |
| HSV | hsv(286, 70%, 67%) |
| CMYK | cmyk(16.4%, 70.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.83, 56.06, -46.53) |
| CIE-LCH | lch(39.83, 72.86, 320.31°) |
| OKLab | oklab(50.59% 0.1412 -0.1307) |
| OKLCH | oklch(50.59% 0.192 317.2) |
| XYZ | xyz(19.8611, 11.1484, 39.6258) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.29
Barney
#AC1DB8
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.12
Purple (survey)
#7E1E9C
ΔE00 5.35
Medium Purple
#9E43A2
ΔE00 5.79
Warm Purple
#952E8F
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F33AB #4FAB33
analogous
#5333AB #8F33AB #AB338B
triadic
#8F33AB #AB8F33 #33AB8F
tetradic
#8F33AB #AB5333 #4FAB33 #338BAB
square
#8F33AB #AB5333 #4FAB33 #338BAB
split-complementary
#8F33AB #8BAB33 #33AB53
monochromatic
#40174D #68257C #8F33AB #AE50CB #C47FD9
Accessibility & contrast
On white
6.50
#8F33AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8F33AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F33AB
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F33AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F33AB | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3661A8
Tritanopia (blue-blind)
#8E4A6B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8f33ab; /* rgb */ color: rgb(143, 51, 171); /* oklch */ color: oklch(50.6% 0.192 317.2);
Tailwind
colors: {
custom: {
50: '#b373c5',
500: '#8f33ab',
950: '#000000',
},
}SCSS
$custom: #8f33ab; $custom-light: #b373c5; $custom-dark: #000000;
JSON
{
"hex": "#8f33ab",
"rgb": {
"r": 143,
"g": 51,
"b": 171
},
"hsl": {
"h": 286,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.50586,
"c": 0.19238,
"h": 317.2
},
"luminance": 0.11148
}Semantic roles & 50–950 ramp
primary
#8F33AB
secondary
#89C278
accent
#DD4A6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82