#8F4BB5#8F4BB5
#8F4BB5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.169 H 311.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4BB5 |
|---|---|
| RGB | rgb(143, 75, 181) |
| HSL | hsl(278, 42%, 50%) |
| HSV | hsv(278, 59%, 71%) |
| CMYK | cmyk(21%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(44.53, 46.94, -44.92) |
| CIE-LCH | lch(44.53, 64.97, 316.26°) |
| OKLab | oklab(54.18% 0.1122 -0.1261) |
| OKLCH | oklch(54.18% 0.169 311.7) |
| XYZ | xyz(22.1828, 14.2085, 45.2811) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.99
Royal Purple
#7851A9
ΔE00 5.01
Deep Lavender
#8D5EB7
ΔE00 5.16
Darkorchid
#9932CC
ΔE00 5.42
Medium Purple
#9E43A2
ΔE00 5.57
Amethyst
#9B5FC0
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4BB5 #71B54B
analogous
#5A4BB5 #8F4BB5 #B54BA6
triadic
#8F4BB5 #B58F4B #4BB58F
tetradic
#8F4BB5 #B55A4B #71B54B #4BA6B5
square
#8F4BB5 #B55A4B #71B54B #4BA6B5
split-complementary
#8F4BB5 #A6B54B #4BB55A
monochromatic
#4B275F #6D398A #8F4BB5 #AA76C7 #C5A2D9
Accessibility & contrast
On white
5.47
#8F4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#8F4BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4BB5
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4BB5 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2866B8
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#8B5E79
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8f4bb5; /* rgb */ color: rgb(143, 75, 181); /* oklch */ color: oklch(54.2% 0.169 311.7);
Tailwind
colors: {
custom: {
50: '#b381cc',
500: '#8f4bb5',
950: '#000000',
},
}SCSS
$custom: #8f4bb5; $custom-light: #b381cc; $custom-dark: #000000;
JSON
{
"hex": "#8f4bb5",
"rgb": {
"r": 143,
"g": 75,
"b": 181
},
"hsl": {
"h": 278.491,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.5418,
"c": 0.16882,
"h": 311.7
},
"luminance": 0.14208
}Semantic roles & 50–950 ramp
primary
#8F4BB5
secondary
#A7C696
accent
#D25682
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82