#9D46E1#9D46E1
#9D46E1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.226 H 306.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46E1 |
|---|---|
| RGB | rgb(157, 70, 225) |
| HSL | hsl(274, 72%, 58%) |
| HSV | hsv(274, 69%, 88%) |
| CMYK | cmyk(30.2%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(48.24, 62.33, -64.23) |
| CIE-LCH | lch(48.24, 89.50, 314.14°) |
| OKLab | oklab(58.14% 0.1335 -0.1823) |
| OKLCH | oklch(58.14% 0.226 306.2) |
| XYZ | xyz(29.6824, 16.9849, 72.9343) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.39
Electric Purple
#AA23FF
ΔE00 4.67
Purpley
#8756E4
ΔE00 4.87
Darkorchid
#9932CC
ΔE00 5.20
Bright Violet
#AD0AFD
ΔE00 5.40
Neon Purple
#BC13FE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46E1 #8AE146
analogous
#4F46E1 #9D46E1 #E146D8
triadic
#9D46E1 #E19D46 #46E19D
tetradic
#9D46E1 #E14F46 #8AE146 #46D8E1
square
#9D46E1 #E14F46 #8AE146 #46D8E1
split-complementary
#9D46E1 #D8E146 #46E14F
monochromatic
#5E1895 #7F21C9 #9D46E1 #B97BEA #D5AFF2
Accessibility & contrast
On white
4.78
#9D46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9D46E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46E1
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46E1 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0F73DE
Tritanopia (blue-blind)
#91698F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d46e1; /* rgb */ color: rgb(157, 70, 225); /* oklch */ color: oklch(58.1% 0.226 306.2);
Tailwind
colors: {
custom: {
50: '#bf80eb',
500: '#9d46e1',
950: '#000000',
},
}SCSS
$custom: #9d46e1; $custom-light: #bf80eb; $custom-dark: #000000;
JSON
{
"hex": "#9d46e1",
"rgb": {
"r": 157,
"g": 70,
"b": 225
},
"hsl": {
"h": 273.677,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.58135,
"c": 0.22598,
"h": 306.2
},
"luminance": 0.16985
}Semantic roles & 50–950 ramp
primary
#9D46E1
secondary
#BEE0A2
accent
#EF3989
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84