#8F3CB9#8F3CB9
#8F3CB9 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.194 H 312.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CB9 |
|---|---|
| RGB | rgb(143, 60, 185) |
| HSL | hsl(280, 51%, 48%) |
| HSV | hsv(280, 68%, 73%) |
| CMYK | cmyk(22.7%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(42.12, 55.09, -51.14) |
| CIE-LCH | lch(42.12, 75.17, 317.13°) |
| OKLab | oklab(52.51% 0.1303 -0.1442) |
| OKLCH | oklch(52.51% 0.194 312.1) |
| XYZ | xyz(21.6989, 12.5747, 47.1736) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.67
Darkorchid
#9932CC
ΔE00 3.10
Barney
#AC1DB8
ΔE00 5.64
Darkviolet
#9400D3
ΔE00 6.12
Blueviolet
#8A2BE2
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CB9 #66B93C
analogous
#503CB9 #8F3CB9 #B93CA4
triadic
#8F3CB9 #B98F3C #3CB98F
tetradic
#8F3CB9 #B9503C #66B93C #3CA4B9
square
#8F3CB9 #B9503C #66B93C #3CA4B9
split-complementary
#8F3CB9 #A4B93C #3CB950
monochromatic
#481E5D #6B2D8B #8F3CB9 #AA65CD #C493DC
Accessibility & contrast
On white
5.97
#8F3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#8F3CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CB9
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CB9 | 1.00 | 5.97 | 3.51 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#8A5676
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8f3cb9; /* rgb */ color: rgb(143, 60, 185); /* oklch */ color: oklch(52.5% 0.194 312.1);
Tailwind
colors: {
custom: {
50: '#b478cf',
500: '#8f3cb9',
950: '#000000',
},
}SCSS
$custom: #8f3cb9; $custom-light: #b478cf; $custom-dark: #000000;
JSON
{
"hex": "#8f3cb9",
"rgb": {
"r": 143,
"g": 60,
"b": 185
},
"hsl": {
"h": 279.84,
"s": 51.02,
"l": 48.039
},
"oklch": {
"l": 0.52511,
"c": 0.19437,
"h": 312.1
},
"luminance": 0.12574
}Semantic roles & 50–950 ramp
primary
#8F3CB9
secondary
#9EC789
accent
#DA4D7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82