#9D46DF#9D46DF
#9D46DF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.224 H 306.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D46DF |
|---|---|
| RGB | rgb(157, 70, 223) |
| HSL | hsl(274, 71%, 57%) |
| HSV | hsv(274, 69%, 87%) |
| CMYK | cmyk(29.6%, 68.6%, 0%, 12.5%) |
| CIE-LAB | lab(48.10, 61.88, -63.32) |
| CIE-LCH | lch(48.10, 88.54, 314.34°) |
| OKLab | oklab(57.99% 0.1338 -0.1796) |
| OKLCH | oklch(57.99% 0.224 306.7) |
| XYZ | xyz(29.4112, 16.8764, 71.5058) |
| Luminance | 0.1688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.50
Electric Purple
#AA23FF
ΔE00 4.84
Purpley
#8756E4
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 5.00
Bright Violet
#AD0AFD
ΔE00 5.51
Neon Purple
#BC13FE
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D46DF #88DF46
analogous
#5146DF #9D46DF #DF46D4
triadic
#9D46DF #DF9D46 #46DF9D
tetradic
#9D46DF #DF5146 #88DF46 #46D4DF
square
#9D46DF #DF5146 #88DF46 #46D4DF
split-complementary
#9D46DF #D4DF46 #46DF51
monochromatic
#5E1991 #7F22C6 #9D46DF #B97AE8 #D4AEF1
Accessibility & contrast
On white
4.80
#9D46DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#9D46DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D46DF
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D46DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D46DF | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#1773DC
Tritanopia (blue-blind)
#92688D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9d46df; /* rgb */ color: rgb(157, 70, 223); /* oklch */ color: oklch(58.0% 0.224 306.7);
Tailwind
colors: {
custom: {
50: '#bf80ea',
500: '#9d46df',
950: '#000000',
},
}SCSS
$custom: #9d46df; $custom-light: #bf80ea; $custom-dark: #000000;
JSON
{
"hex": "#9d46df",
"rgb": {
"r": 157,
"g": 70,
"b": 223
},
"hsl": {
"h": 274.118,
"s": 70.507,
"l": 57.451
},
"oklch": {
"l": 0.57994,
"c": 0.22397,
"h": 306.7
},
"luminance": 0.16876
}Semantic roles & 50–950 ramp
primary
#9D46DF
secondary
#BCDFA2
accent
#ED3B88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84