#9B46DF#9B46DF
#9B46DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.223 H 305.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9B46DF |
|---|---|
| RGB | rgb(155, 70, 223) |
| HSL | hsl(273, 71%, 57%) |
| HSV | hsv(273, 69%, 87%) |
| CMYK | cmyk(30.5%, 68.6%, 0%, 12.5%) |
| CIE-LAB | lab(47.85, 61.48, -63.74) |
| CIE-LCH | lch(47.85, 88.56, 313.97°) |
| OKLab | oklab(57.76% 0.1312 -0.1809) |
| OKLCH | oklch(57.76% 0.223 305.9) |
| XYZ | xyz(29.0241, 16.6768, 71.4877) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.74
Purpley
#8756E4
ΔE00 4.77
Electric Purple
#AA23FF
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 4.90
Bright Violet
#AD0AFD
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B46DF #8ADF46
analogous
#4E46DF #9B46DF #DF46D7
triadic
#9B46DF #DF9B46 #46DF9B
tetradic
#9B46DF #DF4E46 #8ADF46 #46D7DF
square
#9B46DF #DF4E46 #8ADF46 #46D7DF
split-complementary
#9B46DF #D7DF46 #46DF4E
monochromatic
#5C1991 #7D22C6 #9B46DF #B77AE8 #D3AEF1
Accessibility & contrast
On white
4.84
#9B46DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9B46DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B46DF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B46DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B46DF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0F72DC
Tritanopia (blue-blind)
#8F698D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9b46df; /* rgb */ color: rgb(155, 70, 223); /* oklch */ color: oklch(57.8% 0.223 305.9);
Tailwind
colors: {
custom: {
50: '#be80ea',
500: '#9b46df',
950: '#000000',
},
}SCSS
$custom: #9b46df; $custom-light: #be80ea; $custom-dark: #000000;
JSON
{
"hex": "#9b46df",
"rgb": {
"r": 155,
"g": 70,
"b": 223
},
"hsl": {
"h": 273.333,
"s": 70.507,
"l": 57.451
},
"oklch": {
"l": 0.57758,
"c": 0.22348,
"h": 305.9
},
"luminance": 0.16677
}Semantic roles & 50–950 ramp
primary
#9B46DF
secondary
#BDDFA2
accent
#ED3B8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84