#8F46D9#8F46D9
#8F46D9 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.215 H 302.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #8F46D9 |
|---|---|
| RGB | rgb(143, 70, 217) |
| HSL | hsl(270, 66%, 56%) |
| HSV | hsv(270, 68%, 85%) |
| CMYK | cmyk(34.1%, 67.7%, 0%, 14.9%) |
| CIE-LAB | lab(45.95, 57.72, -63.48) |
| CIE-LCH | lch(45.95, 85.80, 312.28°) |
| OKLab | oklab(55.94% 0.116 -0.1805) |
| OKLCH | oklch(55.94% 0.215 302.7) |
| XYZ | xyz(26.0393, 15.2297, 67.2000) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 4.37
Blueviolet
#8A2BE2
ΔE00 4.72
Lightish Purple
#A552E6
ΔE00 5.72
Violet (survey)
#9A0EEA
ΔE00 5.93
Electric Purple
#AA23FF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F46D9 #90D946
analogous
#4647D9 #8F46D9 #D946D9
triadic
#8F46D9 #D98F46 #46D98F
tetradic
#8F46D9 #D94647 #90D946 #46D9D9
square
#8F46D9 #D94647 #90D946 #46D9D9
split-complementary
#8F46D9 #D9D946 #47D946
monochromatic
#521C89 #7026BB #8F46D9 #AE79E3 #CCACEE
Accessibility & contrast
On white
5.19
#8F46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#8F46D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F46D9
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F46D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F46D9 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#80688A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8f46d9; /* rgb */ color: rgb(143, 70, 217); /* oklch */ color: oklch(55.9% 0.215 302.7);
Tailwind
colors: {
custom: {
50: '#b57fe6',
500: '#8f46d9',
950: '#000000',
},
}SCSS
$custom: #8f46d9; $custom-light: #b57fe6; $custom-dark: #000000;
JSON
{
"hex": "#8f46d9",
"rgb": {
"r": 143,
"g": 70,
"b": 217
},
"hsl": {
"h": 269.796,
"s": 65.919,
"l": 56.275
},
"oklch": {
"l": 0.55944,
"c": 0.21462,
"h": 302.7
},
"luminance": 0.1523
}Semantic roles & 50–950 ramp
primary
#8F46D9
secondary
#BEDC9F
accent
#E93F94
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84