#8F3AB2#8F3AB2
#8F3AB2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.190 H 314.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3AB2 |
|---|---|
| RGB | rgb(143, 58, 178) |
| HSL | hsl(283, 51%, 46%) |
| HSV | hsv(283, 67%, 70%) |
| CMYK | cmyk(19.7%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(41.34, 54.50, -48.25) |
| CIE-LCH | lch(41.34, 72.79, 318.48°) |
| OKLab | oklab(51.81% 0.133 -0.1358) |
| OKLCH | oklch(51.81% 0.19 314.4) |
| XYZ | xyz(20.8753, 12.0808, 43.3430) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.33
Darkorchid
#9932CC
ΔE00 4.00
Barney
#AC1DB8
ΔE00 5.27
Medium Purple
#9E43A2
ΔE00 5.76
Darkviolet
#9400D3
ΔE00 6.52
Purple (survey)
#7E1E9C
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3AB2 #5DB23A
analogous
#533AB2 #8F3AB2 #B23A99
triadic
#8F3AB2 #B28F3A #3AB28F
tetradic
#8F3AB2 #B2533A #5DB23A #3A99B2
square
#8F3AB2 #B2533A #5DB23A #3A99B2
split-complementary
#8F3AB2 #99B23A #3AB253
monochromatic
#451C56 #6A2B84 #8F3AB2 #AB5FCB #C38DDA
Accessibility & contrast
On white
6.15
#8F3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#8F3AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3AB2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3AB2 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#8C5271
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #8f3ab2; /* rgb */ color: rgb(143, 58, 178); /* oklch */ color: oklch(51.8% 0.190 314.4);
Tailwind
colors: {
custom: {
50: '#b377ca',
500: '#8f3ab2',
950: '#000000',
},
}SCSS
$custom: #8f3ab2; $custom-light: #b377ca; $custom-dark: #000000;
JSON
{
"hex": "#8f3ab2",
"rgb": {
"r": 143,
"g": 58,
"b": 178
},
"hsl": {
"h": 282.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.51814,
"c": 0.19007,
"h": 314.4
},
"luminance": 0.1208
}Semantic roles & 50–950 ramp
primary
#8F3AB2
secondary
#96C483
accent
#DA4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82