#8F3CBD#8F3CBD
#8F3CBD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.8% C 0.198 H 310.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CBD |
|---|---|
| RGB | rgb(143, 60, 189) |
| HSL | hsl(279, 52%, 49%) |
| HSV | hsv(279, 68%, 74%) |
| CMYK | cmyk(24.3%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(42.38, 55.96, -53.06) |
| CIE-LCH | lch(42.38, 77.11, 316.52°) |
| OKLab | oklab(52.78% 0.1299 -0.1499) |
| OKLCH | oklch(52.78% 0.198 310.9) |
| XYZ | xyz(22.1271, 12.7460, 49.4288) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.63
Purply
#983FB2
ΔE00 3.13
Blueviolet
#8A2BE2
ΔE00 5.79
Darkviolet
#9400D3
ΔE00 5.82
Barney
#AC1DB8
ΔE00 5.87
Vibrant Purple
#AD03DE
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CBD #6ABD3C
analogous
#4F3CBD #8F3CBD #BD3CAB
triadic
#8F3CBD #BD8F3C #3CBD8F
tetradic
#8F3CBD #BD4F3C #6ABD3C #3CABBD
square
#8F3CBD #BD4F3C #6ABD3C #3CABBD
split-complementary
#8F3CBD #ABBD3C #3CBD4F
monochromatic
#491F60 #6C2D8F #8F3CBD #AA67CF #C496DE
Accessibility & contrast
On white
5.92
#8F3CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8F3CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CBD
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CBD | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2B65BA
Tritanopia (blue-blind)
#895778
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8f3cbd; /* rgb */ color: rgb(143, 60, 189); /* oklch */ color: oklch(52.8% 0.198 310.9);
Tailwind
colors: {
custom: {
50: '#b478d2',
500: '#8f3cbd',
950: '#000000',
},
}SCSS
$custom: #8f3cbd; $custom-light: #b478d2; $custom-dark: #000000;
JSON
{
"hex": "#8f3cbd",
"rgb": {
"r": 143,
"g": 60,
"b": 189
},
"hsl": {
"h": 278.605,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.52783,
"c": 0.19835,
"h": 310.9
},
"luminance": 0.12745
}Semantic roles & 50–950 ramp
primary
#8F3CBD
secondary
#A2C98C
accent
#DB4D7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82