#8F3BB2#8F3BB2
#8F3BB2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.189 H 314.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3BB2 |
|---|---|
| RGB | rgb(143, 59, 178) |
| HSL | hsl(282, 50%, 46%) |
| HSV | hsv(282, 67%, 70%) |
| CMYK | cmyk(19.7%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(41.50, 54.05, -48.00) |
| CIE-LCH | lch(41.50, 72.29, 318.40°) |
| OKLab | oklab(51.93% 0.1319 -0.135) |
| OKLCH | oklch(51.93% 0.189 314.3) |
| XYZ | xyz(20.9262, 12.1826, 43.3600) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.21
Darkorchid
#9932CC
ΔE00 4.03
Barney
#AC1DB8
ΔE00 5.33
Medium Purple
#9E43A2
ΔE00 5.67
Darkviolet
#9400D3
ΔE00 6.66
Royal Purple
#7851A9
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3BB2 #5EB23B
analogous
#543BB2 #8F3BB2 #B23B9A
triadic
#8F3BB2 #B28F3B #3BB28F
tetradic
#8F3BB2 #B2543B #5EB23B #3B9AB2
square
#8F3BB2 #B2543B #5EB23B #3B9AB2
split-complementary
#8F3BB2 #9AB23B #3BB254
monochromatic
#451D56 #6A2C84 #8F3BB2 #AB60CA #C38EDA
Accessibility & contrast
On white
6.11
#8F3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#8F3BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3BB2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3BB2 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#8C5272
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8f3bb2; /* rgb */ color: rgb(143, 59, 178); /* oklch */ color: oklch(51.9% 0.189 314.3);
Tailwind
colors: {
custom: {
50: '#b377ca',
500: '#8f3bb2',
950: '#000000',
},
}SCSS
$custom: #8f3bb2; $custom-light: #b377ca; $custom-dark: #000000;
JSON
{
"hex": "#8f3bb2",
"rgb": {
"r": 143,
"g": 59,
"b": 178
},
"hsl": {
"h": 282.353,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.51929,
"c": 0.18875,
"h": 314.3
},
"luminance": 0.12182
}Semantic roles & 50–950 ramp
primary
#8F3BB2
secondary
#97C485
accent
#DA4E77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82