#9D46DE#9D46DE
#9D46DE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.223 H 306.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46DE |
|---|---|
| RGB | rgb(157, 70, 222) |
| HSL | hsl(274, 70%, 57%) |
| HSV | hsv(274, 68%, 87%) |
| CMYK | cmyk(29.3%, 68.5%, 0%, 12.9%) |
| CIE-LAB | lab(48.04, 61.66, -62.86) |
| CIE-LCH | lch(48.04, 88.05, 314.45°) |
| OKLab | oklab(57.92% 0.1339 -0.1783) |
| OKLCH | oklch(57.92% 0.223 306.9) |
| XYZ | xyz(29.2768, 16.8227, 70.7979) |
| Luminance | 0.1682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.56
Darkorchid
#9932CC
ΔE00 4.90
Electric Purple
#AA23FF
ΔE00 4.93
Purpley
#8756E4
ΔE00 5.05
Bright Violet
#AD0AFD
ΔE00 5.58
Neon Purple
#BC13FE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46DE #87DE46
analogous
#5146DE #9D46DE #DE46D3
triadic
#9D46DE #DE9D46 #46DE9D
tetradic
#9D46DE #DE5146 #87DE46 #46D3DE
square
#9D46DE #DE5146 #87DE46 #46D3DE
split-complementary
#9D46DE #D3DE46 #46DE51
monochromatic
#5D1A90 #7F23C4 #9D46DE #B97AE7 #D4AEF1
Accessibility & contrast
On white
4.81
#9D46DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#9D46DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46DE
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46DE | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1A73DB
Tritanopia (blue-blind)
#92688D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d46de; /* rgb */ color: rgb(157, 70, 222); /* oklch */ color: oklch(57.9% 0.223 306.9);
Tailwind
colors: {
custom: {
50: '#bf80e9',
500: '#9d46de',
950: '#000000',
},
}SCSS
$custom: #9d46de; $custom-light: #bf80e9; $custom-dark: #000000;
JSON
{
"hex": "#9d46de",
"rgb": {
"r": 157,
"g": 70,
"b": 222
},
"hsl": {
"h": 274.342,
"s": 69.725,
"l": 57.255
},
"oklch": {
"l": 0.57924,
"c": 0.22296,
"h": 306.9
},
"luminance": 0.16822
}Semantic roles & 50–950 ramp
primary
#9D46DE
secondary
#BBDFA1
accent
#ED3B87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84