#8F4BB4#8F4BB4
#8F4BB4 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.168 H 312.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4BB4 |
|---|---|
| RGB | rgb(143, 75, 180) |
| HSL | hsl(279, 41%, 50%) |
| HSV | hsv(279, 58%, 71%) |
| CMYK | cmyk(20.6%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(44.47, 46.71, -44.43) |
| CIE-LCH | lch(44.47, 64.47, 316.44°) |
| OKLab | oklab(54.12% 0.1122 -0.1247) |
| OKLCH | oklch(54.12% 0.168 312) |
| XYZ | xyz(22.0805, 14.1676, 44.7426) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.94
Royal Purple
#7851A9
ΔE00 5.00
Deep Lavender
#8D5EB7
ΔE00 5.17
Medium Purple
#9E43A2
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.53
Amethyst
#9B5FC0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4BB4 #70B44B
analogous
#5B4BB4 #8F4BB4 #B44BA4
triadic
#8F4BB4 #B48F4B #4BB48F
tetradic
#8F4BB4 #B45B4B #70B44B #4BA4B4
square
#8F4BB4 #B45B4B #70B44B #4BA4B4
split-complementary
#8F4BB4 #A4B44B #4BB45B
monochromatic
#4A275E #6D3989 #8F4BB4 #AA76C6 #C5A1D8
Accessibility & contrast
On white
5.48
#8F4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8F4BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4BB4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4BB4 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#446BB1
Tritanopia (blue-blind)
#8B5E78
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f4bb4; /* rgb */ color: rgb(143, 75, 180); /* oklch */ color: oklch(54.1% 0.168 312.0);
Tailwind
colors: {
custom: {
50: '#b380cb',
500: '#8f4bb4',
950: '#000000',
},
}SCSS
$custom: #8f4bb4; $custom-light: #b380cb; $custom-dark: #000000;
JSON
{
"hex": "#8f4bb4",
"rgb": {
"r": 143,
"g": 75,
"b": 180
},
"hsl": {
"h": 278.857,
"s": 41.176,
"l": 50
},
"oklch": {
"l": 0.54119,
"c": 0.16773,
"h": 312
},
"luminance": 0.14167
}Semantic roles & 50–950 ramp
primary
#8F4BB4
secondary
#A6C596
accent
#D15782
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82