#8F50B3#8F50B3
#8F50B3 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.159 H 311.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8F50B3 |
|---|---|
| RGB | rgb(143, 80, 179) |
| HSL | hsl(278, 39%, 51%) |
| HSV | hsv(278, 55%, 70%) |
| CMYK | cmyk(20.1%, 55.3%, 0%, 29.8%) |
| CIE-LAB | lab(45.40, 43.86, -42.36) |
| CIE-LCH | lch(45.40, 60.98, 316.00°) |
| OKLab | oklab(54.78% 0.1055 -0.1187) |
| OKLCH | oklch(54.78% 0.159 311.6) |
| XYZ | xyz(22.3316, 14.8321, 44.3256) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.94
Deep Lavender
#8D5EB7
ΔE00 3.97
Royal Purple
#7851A9
ΔE00 4.83
Amethyst
#9B5FC0
ΔE00 5.21
Medium Purple
#9E43A2
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F50B3 #74B350
analogous
#5D50B3 #8F50B3 #B350A5
triadic
#8F50B3 #B38F50 #50B38F
tetradic
#8F50B3 #B35D50 #74B350 #50A5B3
square
#8F50B3 #B35D50 #74B350 #50A5B3
split-complementary
#8F50B3 #A5B350 #50B35D
monochromatic
#4C295F #6E3C8A #8F50B3 #AA7BC6 #C6A5D8
Accessibility & contrast
On white
5.29
#8F50B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#8F50B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F50B3
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F50B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F50B3 | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3468B6
Deuteranopia (green-blind)
#496DB1
Tritanopia (blue-blind)
#8B617A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8f50b3; /* rgb */ color: rgb(143, 80, 179); /* oklch */ color: oklch(54.8% 0.159 311.6);
Tailwind
colors: {
custom: {
50: '#b284ca',
500: '#8f50b3',
950: '#000000',
},
}SCSS
$custom: #8f50b3; $custom-light: #b284ca; $custom-dark: #000000;
JSON
{
"hex": "#8f50b3",
"rgb": {
"r": 143,
"g": 80,
"b": 179
},
"hsl": {
"h": 278.182,
"s": 39.442,
"l": 50.784
},
"oklch": {
"l": 0.54783,
"c": 0.15879,
"h": 311.6
},
"luminance": 0.14832
}Semantic roles & 50–950 ramp
primary
#8F50B3
secondary
#A9C599
accent
#CF5884
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82