#8F50BF#8F50BF
#8F50BF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.172 H 307.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F50BF |
|---|---|
| RGB | rgb(143, 80, 191) |
| HSL | hsl(274, 46%, 53%) |
| HSV | hsv(274, 58%, 75%) |
| CMYK | cmyk(25.1%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(46.09, 46.61, -48.26) |
| CIE-LCH | lch(46.09, 67.09, 314.00°) |
| OKLab | oklab(55.51% 0.106 -0.1359) |
| OKLCH | oklch(55.51% 0.172 307.9) |
| XYZ | xyz(23.5984, 15.3389, 50.9976) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.16
Purply
#983FB2
ΔE00 4.75
Amethyst
#9B5FC0
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 5.73
Purpley
#8756E4
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F50BF #80BF50
analogous
#5750BF #8F50BF #BF50B8
triadic
#8F50BF #BF8F50 #50BF8F
tetradic
#8F50BF #BF5750 #80BF50 #50B8BF
square
#8F50BF #BF5750 #80BF50 #50B8BF
split-complementary
#8F50BF #B8BF50 #50BF57
monochromatic
#4F286D #6F389A #8F50BF #AC7DCF #C8AAE0
Accessibility & contrast
On white
5.16
#8F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8F50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F50BF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F50BF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#886580
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f50bf; /* rgb */ color: rgb(143, 80, 191); /* oklch */ color: oklch(55.5% 0.172 307.9);
Tailwind
colors: {
custom: {
50: '#b384d3',
500: '#8f50bf',
950: '#000000',
},
}SCSS
$custom: #8f50bf; $custom-light: #b384d3; $custom-dark: #000000;
JSON
{
"hex": "#8f50bf",
"rgb": {
"r": 143,
"g": 80,
"b": 191
},
"hsl": {
"h": 274.054,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.55513,
"c": 0.17234,
"h": 307.9
},
"luminance": 0.15339
}Semantic roles & 50–950 ramp
primary
#8F50BF
secondary
#B2CD9D
accent
#D6528B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83