#8F49DB#8F49DB
#8F49DB is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.213 H 301.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8F49DB |
|---|---|
| RGB | rgb(143, 73, 219) |
| HSL | hsl(269, 67%, 57%) |
| HSV | hsv(269, 67%, 86%) |
| CMYK | cmyk(34.7%, 66.7%, 0%, 14.1%) |
| CIE-LAB | lab(46.60, 56.77, -63.55) |
| CIE-LCH | lch(46.60, 85.22, 311.77°) |
| OKLab | oklab(56.46% 0.1126 -0.1808) |
| OKLCH | oklch(56.46% 0.213 301.9) |
| XYZ | xyz(26.4934, 15.7191, 68.6424) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Darkorchid
#9932CC
ΔE00 5.06
Lightish Purple
#A552E6
ΔE00 5.21
Blueviolet
#8A2BE2
ΔE00 5.31
Electric Purple
#AA23FF
ΔE00 6.16
Bluish Purple
#703BE7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F49DB #95DB49
analogous
#494CDB #8F49DB #D849DB
triadic
#8F49DB #DB8F49 #49DB8F
tetradic
#8F49DB #DB494C #95DB49 #49DBD8
square
#8F49DB #DB494C #95DB49 #49DBD8
split-complementary
#8F49DB #DBD849 #4CDB49
monochromatic
#521C8E #7026C1 #8F49DB #AE7CE5 #CEAFEF
Accessibility & contrast
On white
5.07
#8F49DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8F49DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F49DB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F49DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F49DB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#7F6A8C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8f49db; /* rgb */ color: rgb(143, 73, 219); /* oklch */ color: oklch(56.5% 0.213 301.9);
Tailwind
colors: {
custom: {
50: '#b580e7',
500: '#8f49db',
950: '#000000',
},
}SCSS
$custom: #8f49db; $custom-light: #b580e7; $custom-dark: #000000;
JSON
{
"hex": "#8f49db",
"rgb": {
"r": 143,
"g": 73,
"b": 219
},
"hsl": {
"h": 268.767,
"s": 66.972,
"l": 57.255
},
"oklch": {
"l": 0.56459,
"c": 0.21301,
"h": 301.9
},
"luminance": 0.15719
}Semantic roles & 50–950 ramp
primary
#8F49DB
secondary
#C1DDA2
accent
#EA3E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84