#8F3EBA#8F3EBA
#8F3EBA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.193 H 311.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F3EBA |
|---|---|
| RGB | rgb(143, 62, 186) |
| HSL | hsl(279, 50%, 49%) |
| HSV | hsv(279, 67%, 73%) |
| CMYK | cmyk(23.1%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(42.51, 54.40, -51.09) |
| CIE-LCH | lch(42.51, 74.63, 316.79°) |
| OKLab | oklab(52.81% 0.128 -0.1441) |
| OKLCH | oklch(52.81% 0.193 311.6) |
| XYZ | xyz(21.9116, 12.8306, 47.7671) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.66
Darkorchid
#9932CC
ΔE00 3.10
Barney
#AC1DB8
ΔE00 5.85
Darkviolet
#9400D3
ΔE00 6.37
Blueviolet
#8A2BE2
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F3EBA #69BA3E
analogous
#513EBA #8F3EBA #BA3EA7
triadic
#8F3EBA #BA8F3E #3EBA8F
tetradic
#8F3EBA #BA513E #69BA3E #3EA7BA
square
#8F3EBA #BA513E #69BA3E #3EA7BA
split-complementary
#8F3EBA #A7BA3E #3EBA51
monochromatic
#481F5E #6C2F8C #8F3EBA #AA68CD #C496DC
Accessibility & contrast
On white
5.89
#8F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#8F3EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F3EBA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F3EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F3EBA | 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)
#0060BE
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#8A5777
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8f3eba; /* rgb */ color: rgb(143, 62, 186); /* oklch */ color: oklch(52.8% 0.193 311.6);
Tailwind
colors: {
custom: {
50: '#b479cf',
500: '#8f3eba',
950: '#000000',
},
}SCSS
$custom: #8f3eba; $custom-light: #b479cf; $custom-dark: #000000;
JSON
{
"hex": "#8f3eba",
"rgb": {
"r": 143,
"g": 62,
"b": 186
},
"hsl": {
"h": 279.194,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.52812,
"c": 0.19273,
"h": 311.6
},
"luminance": 0.1283
}Semantic roles & 50–950 ramp
primary
#8F3EBA
secondary
#A1C88C
accent
#DA4E7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82