#9A46DF#9A46DF
#9A46DF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.223 H 305.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9A46DF |
|---|---|
| RGB | rgb(154, 70, 223) |
| HSL | hsl(273, 71%, 57%) |
| HSV | hsv(273, 69%, 87%) |
| CMYK | cmyk(30.9%, 68.6%, 0%, 12.5%) |
| CIE-LAB | lab(47.72, 61.29, -63.95) |
| CIE-LCH | lch(47.72, 88.58, 313.78°) |
| OKLab | oklab(57.64% 0.1299 -0.1816) |
| OKLCH | oklch(57.64% 0.223 305.6) |
| XYZ | xyz(28.8329, 16.5783, 71.4787) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.87
Purpley
#8756E4
ΔE00 4.66
Darkorchid
#9932CC
ΔE00 4.87
Electric Purple
#AA23FF
ΔE00 4.91
Bright Violet
#AD0AFD
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A46DF #8BDF46
analogous
#4D46DF #9A46DF #DF46D8
triadic
#9A46DF #DF9A46 #46DF9A
tetradic
#9A46DF #DF4D46 #8BDF46 #46D8DF
square
#9A46DF #DF4D46 #8BDF46 #46D8DF
split-complementary
#9A46DF #D8DF46 #46DF4D
monochromatic
#5B1991 #7C22C6 #9A46DF #B67AE8 #D3AEF1
Accessibility & contrast
On white
4.87
#9A46DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9A46DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A46DF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A46DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A46DF | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0B71DC
Tritanopia (blue-blind)
#8E698D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9a46df; /* rgb */ color: rgb(154, 70, 223); /* oklch */ color: oklch(57.6% 0.223 305.6);
Tailwind
colors: {
custom: {
50: '#bd80ea',
500: '#9a46df',
950: '#000000',
},
}SCSS
$custom: #9a46df; $custom-light: #bd80ea; $custom-dark: #000000;
JSON
{
"hex": "#9a46df",
"rgb": {
"r": 154,
"g": 70,
"b": 223
},
"hsl": {
"h": 272.941,
"s": 70.507,
"l": 57.451
},
"oklch": {
"l": 0.57641,
"c": 0.22324,
"h": 305.6
},
"luminance": 0.16578
}Semantic roles & 50–950 ramp
primary
#9A46DF
secondary
#BDDFA2
accent
#ED3B8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84