#8F4CB8#8F4CB8
#8F4CB8 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.5% C 0.171 H 310.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4CB8 |
|---|---|
| RGB | rgb(143, 76, 184) |
| HSL | hsl(277, 43%, 51%) |
| HSV | hsv(277, 59%, 72%) |
| CMYK | cmyk(22.3%, 58.7%, 0%, 27.8%) |
| CIE-LAB | lab(44.90, 47.09, -46.09) |
| CIE-LCH | lch(44.90, 65.89, 315.62°) |
| OKLab | oklab(54.51% 0.111 -0.1295) |
| OKLCH | oklch(54.51% 0.171 310.6) |
| XYZ | xyz(22.5622, 14.4697, 46.9425) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.38
Deep Lavender
#8D5EB7
ΔE00 4.90
Royal Purple
#7851A9
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.32
Amethyst
#9B5FC0
ΔE00 5.94
Medium Purple
#9E43A2
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4CB8 #75B84C
analogous
#594CB8 #8F4CB8 #B84CAB
triadic
#8F4CB8 #B88F4C #4CB88F
tetradic
#8F4CB8 #B8594C #75B84C #4CABB8
square
#8F4CB8 #B8594C #75B84C #4CABB8
split-complementary
#8F4CB8 #ABB84C #4CB859
monochromatic
#4C2763 #6E388E #8F4CB8 #AA78C9 #C6A4DB
Accessibility & contrast
On white
5.39
#8F4CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8F4CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4CB8
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4CB8 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2667BB
Deuteranopia (green-blind)
#426BB5
Tritanopia (blue-blind)
#8A607B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f4cb8; /* rgb */ color: rgb(143, 76, 184); /* oklch */ color: oklch(54.5% 0.171 310.6);
Tailwind
colors: {
custom: {
50: '#b381ce',
500: '#8f4cb8',
950: '#000000',
},
}SCSS
$custom: #8f4cb8; $custom-light: #b381ce; $custom-dark: #000000;
JSON
{
"hex": "#8f4cb8",
"rgb": {
"r": 143,
"g": 76,
"b": 184
},
"hsl": {
"h": 277.222,
"s": 43.2,
"l": 50.98
},
"oklch": {
"l": 0.54506,
"c": 0.17059,
"h": 310.6
},
"luminance": 0.14469
}Semantic roles & 50–950 ramp
primary
#8F4CB8
secondary
#AAC898
accent
#D35585
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82