#8F33B2#8F33B2
#8F33B2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.199 H 315.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F33B2 |
|---|---|
| RGB | rgb(143, 51, 178) |
| HSL | hsl(283, 55%, 45%) |
| HSV | hsv(283, 71%, 70%) |
| CMYK | cmyk(19.7%, 71.3%, 0%, 30.2%) |
| CIE-LAB | lab(40.28, 57.48, -49.96) |
| CIE-LCH | lch(40.28, 76.16, 319.00°) |
| OKLab | oklab(51.05% 0.1406 -0.1407) |
| OKLCH | oklch(51.05% 0.199 315) |
| XYZ | xyz(20.5461, 11.4224, 43.2333) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.27
Darkorchid
#9932CC
ΔE00 4.05
Barney
#AC1DB8
ΔE00 5.03
Darkviolet
#9400D3
ΔE00 5.69
Purple (survey)
#7E1E9C
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F33B2 #56B233
analogous
#5033B2 #8F33B2 #B23395
triadic
#8F33B2 #B28F33 #33B28F
tetradic
#8F33B2 #B25033 #56B233 #3395B2
square
#8F33B2 #B25033 #56B233 #3395B2
split-complementary
#8F33B2 #95B233 #33B250
monochromatic
#431853 #692582 #8F33B2 #AC54CE #C384DC
Accessibility & contrast
On white
6.39
#8F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#8F33B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F33B2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F33B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F33B2 | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#8C4D6F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8f33b2; /* rgb */ color: rgb(143, 51, 178); /* oklch */ color: oklch(51.1% 0.199 315.0);
Tailwind
colors: {
custom: {
50: '#b473ca',
500: '#8f33b2',
950: '#000000',
},
}SCSS
$custom: #8f33b2; $custom-light: #b473ca; $custom-dark: #000000;
JSON
{
"hex": "#8f33b2",
"rgb": {
"r": 143,
"g": 51,
"b": 178
},
"hsl": {
"h": 283.465,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.51054,
"c": 0.1989,
"h": 315
},
"luminance": 0.11422
}Semantic roles & 50–950 ramp
primary
#8F33B2
secondary
#90C57C
accent
#DF4972
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82