#8F46DB#8F46DB
#8F46DB is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.1% C 0.217 H 302.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46DB |
|---|---|
| RGB | rgb(143, 70, 219) |
| HSL | hsl(269, 67%, 57%) |
| HSV | hsv(269, 68%, 86%) |
| CMYK | cmyk(34.7%, 68%, 0%, 14.1%) |
| CIE-LAB | lab(46.09, 58.20, -64.39) |
| CIE-LCH | lch(46.09, 86.79, 312.11°) |
| OKLab | oklab(56.09% 0.1158 -0.1832) |
| OKLCH | oklch(56.09% 0.217 302.3) |
| XYZ | xyz(26.3010, 15.3344, 68.5783) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.20
Darkorchid
#9932CC
ΔE00 4.56
Blueviolet
#8A2BE2
ΔE00 4.70
Lightish Purple
#A552E6
ΔE00 5.63
Violet (survey)
#9A0EEA
ΔE00 5.90
Electric Purple
#AA23FF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46DB #92DB46
analogous
#4648DB #8F46DB #DA46DB
triadic
#8F46DB #DB8F46 #46DB8F
tetradic
#8F46DB #DB4648 #92DB46 #46DBDA
square
#8F46DB #DB4648 #92DB46 #46DBDA
split-complementary
#8F46DB #DBDA46 #48DB46
monochromatic
#521B8B #7025BF #8F46DB #AE79E5 #CDACEF
Accessibility & contrast
On white
5.16
#8F46DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8F46DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46DB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46DB | 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)
#006CDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#7F698B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f46db; /* rgb */ color: rgb(143, 70, 219); /* oklch */ color: oklch(56.1% 0.217 302.3);
Tailwind
colors: {
custom: {
50: '#b57fe7',
500: '#8f46db',
950: '#000000',
},
}SCSS
$custom: #8f46db; $custom-light: #b57fe7; $custom-dark: #000000;
JSON
{
"hex": "#8f46db",
"rgb": {
"r": 143,
"g": 70,
"b": 219
},
"hsl": {
"h": 269.396,
"s": 67.421,
"l": 56.667
},
"oklch": {
"l": 0.5609,
"c": 0.21674,
"h": 302.3
},
"luminance": 0.15334
}Semantic roles & 50–950 ramp
primary
#8F46DB
secondary
#BFDDA0
accent
#EA3D96
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84