#9D46E2#9D46E2
#9D46E2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.227 H 306.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46E2 |
|---|---|
| RGB | rgb(157, 70, 226) |
| HSL | hsl(273, 73%, 58%) |
| HSV | hsv(273, 69%, 89%) |
| CMYK | cmyk(30.5%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(48.31, 62.55, -64.69) |
| CIE-LCH | lch(48.31, 89.98, 314.04°) |
| OKLab | oklab(58.21% 0.1334 -0.1836) |
| OKLCH | oklch(58.21% 0.227 306) |
| XYZ | xyz(29.8193, 17.0397, 73.6548) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.35
Electric Purple
#AA23FF
ΔE00 4.59
Purpley
#8756E4
ΔE00 4.81
Darkorchid
#9932CC
ΔE00 5.30
Bright Violet
#AD0AFD
ΔE00 5.35
Neon Purple
#BC13FE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46E2 #8BE246
analogous
#4F46E2 #9D46E2 #E246D9
triadic
#9D46E2 #E29D46 #46E29D
tetradic
#9D46E2 #E24F46 #8BE246 #46D9E2
square
#9D46E2 #E24F46 #8BE246 #46D9E2
split-complementary
#9D46E2 #D9E246 #46E24F
monochromatic
#5E1896 #7F20CB #9D46E2 #B97BEA #D5B0F3
Accessibility & contrast
On white
4.76
#9D46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#9D46E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46E2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46E2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0A73DF
Tritanopia (blue-blind)
#916A8F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9d46e2; /* rgb */ color: rgb(157, 70, 226); /* oklch */ color: oklch(58.2% 0.227 306.0);
Tailwind
colors: {
custom: {
50: '#bf80ec',
500: '#9d46e2',
950: '#000000',
},
}SCSS
$custom: #9d46e2; $custom-light: #bf80ec; $custom-dark: #000000;
JSON
{
"hex": "#9d46e2",
"rgb": {
"r": 157,
"g": 70,
"b": 226
},
"hsl": {
"h": 273.462,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.58206,
"c": 0.22698,
"h": 306
},
"luminance": 0.17039
}Semantic roles & 50–950 ramp
primary
#9D46E2
secondary
#BEE1A3
accent
#F03889
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84