#9B46E2#9B46E2
#9B46E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.227 H 305.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9B46E2 |
|---|---|
| RGB | rgb(155, 70, 226) |
| HSL | hsl(273, 73%, 58%) |
| HSV | hsv(273, 69%, 89%) |
| CMYK | cmyk(31.4%, 69%, 0%, 11.4%) |
| CIE-LAB | lab(48.06, 62.16, -65.11) |
| CIE-LCH | lch(48.06, 90.02, 313.67°) |
| OKLab | oklab(57.97% 0.1308 -0.1849) |
| OKLCH | oklch(57.97% 0.227 305.3) |
| XYZ | xyz(29.4321, 16.8401, 73.6367) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.61
Purpley
#8756E4
ΔE00 4.59
Electric Purple
#AA23FF
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 5.21
Bright Violet
#AD0AFD
ΔE00 5.39
Lighter Purple
#A55AF4
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B46E2 #8DE246
analogous
#4D46E2 #9B46E2 #E246DB
triadic
#9B46E2 #E29B46 #46E29B
tetradic
#9B46E2 #E24D46 #8DE246 #46DBE2
square
#9B46E2 #E24D46 #8DE246 #46DBE2
split-complementary
#9B46E2 #DBE246 #46E24D
monochromatic
#5C1896 #7D20CB #9B46E2 #B87BEA #D4B0F3
Accessibility & contrast
On white
4.81
#9B46E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9B46E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B46E2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B46E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B46E2 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#8E6A8F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9b46e2; /* rgb */ color: rgb(155, 70, 226); /* oklch */ color: oklch(58.0% 0.227 305.3);
Tailwind
colors: {
custom: {
50: '#be80ec',
500: '#9b46e2',
950: '#000000',
},
}SCSS
$custom: #9b46e2; $custom-light: #be80ec; $custom-dark: #000000;
JSON
{
"hex": "#9b46e2",
"rgb": {
"r": 155,
"g": 70,
"b": 226
},
"hsl": {
"h": 272.692,
"s": 72.897,
"l": 58.039
},
"oklch": {
"l": 0.57972,
"c": 0.22651,
"h": 305.3
},
"luminance": 0.1684
}Semantic roles & 50–950 ramp
primary
#9B46E2
secondary
#BFE1A3
accent
#F0388C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84