#9D46EF#9D46EF
#9D46EF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.240 H 303.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46EF |
|---|---|
| RGB | rgb(157, 70, 239) |
| HSL | hsl(271, 84%, 61%) |
| HSV | hsv(271, 71%, 94%) |
| CMYK | cmyk(34.3%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(49.23, 65.48, -70.53) |
| CIE-LCH | lch(49.23, 96.24, 312.87°) |
| OKLab | oklab(59.15% 0.1314 -0.2008) |
| OKLCH | oklch(59.15% 0.24 303.2) |
| XYZ | xyz(31.6711, 17.7804, 83.4081) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.28
Electric Purple
#AA23FF
ΔE00 3.90
Purpley
#8756E4
ΔE00 4.49
Lighter Purple
#A55AF4
ΔE00 4.88
Bright Violet
#AD0AFD
ΔE00 5.02
Neon Purple
#BC13FE
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46EF #98EF46
analogous
#4846EF #9D46EF #EF46EC
triadic
#9D46EF #EF9D46 #46EF9D
tetradic
#9D46EF #EF4846 #98EF46 #46ECEF
square
#9D46EF #EF4846 #98EF46 #46ECEF
split-complementary
#9D46EF #ECEF46 #46EF48
monochromatic
#600FAC #7F14E4 #9D46EF #BB7EF4 #D9B7F9
Accessibility & contrast
On white
4.61
#9D46EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#9D46EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46EF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46EF | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#8D6F96
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9d46ef; /* rgb */ color: rgb(157, 70, 239); /* oklch */ color: oklch(59.1% 0.240 303.2);
Tailwind
colors: {
custom: {
50: '#c080f5',
500: '#9d46ef',
950: '#000000',
},
}SCSS
$custom: #9d46ef; $custom-light: #c080f5; $custom-dark: #000000;
JSON
{
"hex": "#9d46ef",
"rgb": {
"r": 157,
"g": 70,
"b": 239
},
"hsl": {
"h": 270.888,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.59148,
"c": 0.24,
"h": 303.2
},
"luminance": 0.1778
}Semantic roles & 50–950 ramp
primary
#9D46EF
secondary
#C7E9A8
accent
#E10570
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85