#8F4BBE#8F4BBE
#8F4BBE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.179 H 308.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8F4BBE |
|---|---|
| RGB | rgb(143, 75, 190) |
| HSL | hsl(275, 47%, 52%) |
| HSV | hsv(275, 61%, 75%) |
| CMYK | cmyk(24.7%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(45.07, 48.97, -49.32) |
| CIE-LCH | lch(45.07, 69.50, 314.79°) |
| OKLab | oklab(54.74% 0.1123 -0.139) |
| OKLCH | oklch(54.74% 0.179 308.9) |
| XYZ | xyz(23.1362, 14.5899, 50.3025) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.83
Darkorchid
#9932CC
ΔE00 4.69
Deep Lavender
#8D5EB7
ΔE00 5.27
Royal Purple
#7851A9
ΔE00 5.42
Amethyst
#9B5FC0
ΔE00 6.14
Medium Purple
#9E43A2
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F4BBE #7ABE4B
analogous
#564BBE #8F4BBE #BE4BB4
triadic
#8F4BBE #BE8F4B #4BBE8F
tetradic
#8F4BBE #BE564B #7ABE4B #4BB4BE
square
#8F4BBE #BE564B #7ABE4B #4BB4BE
split-complementary
#8F4BBE #B4BE4B #4BBE56
monochromatic
#4D2669 #6F3696 #8F4BBE #AB78CE #C7A5DE
Accessibility & contrast
On white
5.36
#8F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8F4BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F4BBE
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F4BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F4BBE | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A68C2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#88617D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f4bbe; /* rgb */ color: rgb(143, 75, 190); /* oklch */ color: oklch(54.7% 0.179 308.9);
Tailwind
colors: {
custom: {
50: '#b381d2',
500: '#8f4bbe',
950: '#000000',
},
}SCSS
$custom: #8f4bbe; $custom-light: #b381d2; $custom-dark: #000000;
JSON
{
"hex": "#8f4bbe",
"rgb": {
"r": 143,
"g": 75,
"b": 190
},
"hsl": {
"h": 275.478,
"s": 46.939,
"l": 51.961
},
"oklch": {
"l": 0.54744,
"c": 0.17869,
"h": 308.9
},
"luminance": 0.14589
}Semantic roles & 50–950 ramp
primary
#8F4BBE
secondary
#AECC99
accent
#D75188
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83