#8F46BB#8F46BB
#8F46BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.183 H 310.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46BB |
|---|---|
| RGB | rgb(143, 70, 187) |
| HSL | hsl(277, 46%, 50%) |
| HSV | hsv(277, 63%, 73%) |
| CMYK | cmyk(23.5%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(43.96, 50.80, -49.35) |
| CIE-LCH | lch(43.96, 70.83, 315.83°) |
| OKLab | oklab(53.88% 0.1185 -0.1391) |
| OKLCH | oklch(53.88% 0.183 310.4) |
| XYZ | xyz(22.4858, 13.8083, 48.4848) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.91
Darkorchid
#9932CC
ΔE00 3.98
Royal Purple
#7851A9
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 6.32
Medium Purple
#9E43A2
ΔE00 6.36
Barney
#AC1DB8
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46BB #72BB46
analogous
#5446BB #8F46BB #BB46AC
triadic
#8F46BB #BB8F46 #46BB8F
tetradic
#8F46BB #BB5446 #72BB46 #46ACBB
square
#8F46BB #BB5446 #72BB46 #46ACBB
split-complementary
#8F46BB #ACBB46 #46BB54
monochromatic
#4B2462 #6D358F #8F46BB #AA73CB #C5A0DC
Accessibility & contrast
On white
5.58
#8F46BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8F46BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46BB
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46BB | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#895D7A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8f46bb; /* rgb */ color: rgb(143, 70, 187); /* oklch */ color: oklch(53.9% 0.183 310.4);
Tailwind
colors: {
custom: {
50: '#b37ed0',
500: '#8f46bb',
950: '#000000',
},
}SCSS
$custom: #8f46bb; $custom-light: #b37ed0; $custom-dark: #000000;
JSON
{
"hex": "#8f46bb",
"rgb": {
"r": 143,
"g": 70,
"b": 187
},
"hsl": {
"h": 277.436,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.53879,
"c": 0.1827,
"h": 310.4
},
"luminance": 0.13808
}Semantic roles & 50–950 ramp
primary
#8F46BB
secondary
#A8C894
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82