#8F46BC#8F46BC
#8F46BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.184 H 310.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46BC |
|---|---|
| RGB | rgb(143, 70, 188) |
| HSL | hsl(277, 47%, 51%) |
| HSV | hsv(277, 63%, 74%) |
| CMYK | cmyk(23.9%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(44.02, 51.03, -49.84) |
| CIE-LCH | lch(44.02, 71.33, 315.68°) |
| OKLab | oklab(53.94% 0.1185 -0.1405) |
| OKLCH | oklch(53.94% 0.184 310.1) |
| XYZ | xyz(22.5932, 13.8513, 49.0506) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.03
Darkorchid
#9932CC
ΔE00 3.90
Royal Purple
#7851A9
ΔE00 5.67
Deep Lavender
#8D5EB7
ΔE00 6.34
Medium Purple
#9E43A2
ΔE00 6.51
Barney
#AC1DB8
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46BC #73BC46
analogous
#5446BC #8F46BC #BC46AE
triadic
#8F46BC #BC8F46 #46BC8F
tetradic
#8F46BC #BC5446 #73BC46 #46AEBC
square
#8F46BC #BC5446 #73BC46 #46AEBC
split-complementary
#8F46BC #AEBC46 #46BC54
monochromatic
#4B2464 #6D3490 #8F46BC #AA73CC #C5A0DD
Accessibility & contrast
On white
5.57
#8F46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8F46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46BC
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46BC | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#895D7B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8f46bc; /* rgb */ color: rgb(143, 70, 188); /* oklch */ color: oklch(53.9% 0.184 310.1);
Tailwind
colors: {
custom: {
50: '#b37ed1',
500: '#8f46bc',
950: '#000000',
},
}SCSS
$custom: #8f46bc; $custom-light: #b37ed1; $custom-dark: #000000;
JSON
{
"hex": "#8f46bc",
"rgb": {
"r": 143,
"g": 70,
"b": 188
},
"hsl": {
"h": 277.119,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.53943,
"c": 0.18377,
"h": 310.1
},
"luminance": 0.13851
}Semantic roles & 50–950 ramp
primary
#8F46BC
secondary
#A9C995
accent
#D65184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82