#8F3CBF#8F3CBF
#8F3CBF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.200 H 310.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3CBF |
|---|---|
| RGB | rgb(143, 60, 191) |
| HSL | hsl(278, 52%, 49%) |
| HSV | hsv(278, 69%, 75%) |
| CMYK | cmyk(25.1%, 68.6%, 0%, 25.1%) |
| CIE-LAB | lab(42.51, 56.39, -54.01) |
| CIE-LCH | lch(42.51, 78.09, 316.23°) |
| OKLab | oklab(52.92% 0.1297 -0.1527) |
| OKLCH | oklch(52.92% 0.2 310.4) |
| XYZ | xyz(22.3457, 12.8334, 50.5801) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.43
Purply
#983FB2
ΔE00 3.37
Blueviolet
#8A2BE2
ΔE00 5.51
Darkviolet
#9400D3
ΔE00 5.70
Barney
#AC1DB8
ΔE00 6.00
Vibrant Purple
#AD03DE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3CBF #6CBF3C
analogous
#4E3CBF #8F3CBF #BF3CAE
triadic
#8F3CBF #BF8F3C #3CBF8F
tetradic
#8F3CBF #BF4E3C #6CBF3C #3CAEBF
square
#8F3CBF #BF4E3C #6CBF3C #3CAEBF
split-complementary
#8F3CBF #AEBF3C #3CBF4E
monochromatic
#491F62 #6C2D90 #8F3CBF #AA68D0 #C497DE
Accessibility & contrast
On white
5.89
#8F3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8F3CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3CBF
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3CBF | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2866BC
Tritanopia (blue-blind)
#895879
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8f3cbf; /* rgb */ color: rgb(143, 60, 191); /* oklch */ color: oklch(52.9% 0.200 310.4);
Tailwind
colors: {
custom: {
50: '#b478d3',
500: '#8f3cbf',
950: '#000000',
},
}SCSS
$custom: #8f3cbf; $custom-light: #b478d3; $custom-dark: #000000;
JSON
{
"hex": "#8f3cbf",
"rgb": {
"r": 143,
"g": 60,
"b": 191
},
"hsl": {
"h": 278.015,
"s": 52.191,
"l": 49.216
},
"oklch": {
"l": 0.5292,
"c": 0.20035,
"h": 310.4
},
"luminance": 0.12833
}Semantic roles & 50–950 ramp
primary
#8F3CBF
secondary
#A3CA8D
accent
#DC4C81
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83