#8F4BB7#8F4BB7
#8F4BB7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.171 H 311.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4BB7 |
|---|---|
| RGB | rgb(143, 75, 183) |
| HSL | hsl(278, 43%, 51%) |
| HSV | hsv(278, 59%, 72%) |
| CMYK | cmyk(21.9%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(44.65, 47.38, -45.91) |
| CIE-LCH | lch(44.65, 65.97, 315.91°) |
| OKLab | oklab(54.3% 0.1123 -0.129) |
| OKLCH | oklch(54.3% 0.171 311) |
| XYZ | xyz(22.3894, 14.2912, 46.3696) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.13
Royal Purple
#7851A9
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4BB7 #73B74B
analogous
#594BB7 #8F4BB7 #B74BA9
triadic
#8F4BB7 #B78F4B #4BB78F
tetradic
#8F4BB7 #B7594B #73B74B #4BA9B7
square
#8F4BB7 #B7594B #73B74B #4BA9B7
split-complementary
#8F4BB7 #A9B74B #4BB759
monochromatic
#4B2761 #6D388D #8F4BB7 #AA77C8 #C5A2DA
Accessibility & contrast
On white
5.44
#8F4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#8F4BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4BB7
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4BB7 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2566BA
Deuteranopia (green-blind)
#416BB4
Tritanopia (blue-blind)
#8A5F7A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8f4bb7; /* rgb */ color: rgb(143, 75, 183); /* oklch */ color: oklch(54.3% 0.171 311.0);
Tailwind
colors: {
custom: {
50: '#b381cd',
500: '#8f4bb7',
950: '#000000',
},
}SCSS
$custom: #8f4bb7; $custom-light: #b381cd; $custom-dark: #000000;
JSON
{
"hex": "#8f4bb7",
"rgb": {
"r": 143,
"g": 75,
"b": 183
},
"hsl": {
"h": 277.778,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.54303,
"c": 0.17101,
"h": 311
},
"luminance": 0.14291
}Semantic roles & 50–950 ramp
primary
#8F4BB7
secondary
#A9C797
accent
#D35584
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82