#9A46C8#9A46C8
#9A46C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.1% C 0.200 H 311.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9A46C8 |
|---|---|
| RGB | rgb(154, 70, 200) |
| HSL | hsl(279, 54%, 53%) |
| HSV | hsv(279, 65%, 78%) |
| CMYK | cmyk(23%, 65%, 0%, 21.6%) |
| CIE-LAB | lab(46.21, 56.20, -53.22) |
| CIE-LCH | lch(46.21, 77.40, 316.56°) |
| OKLab | oklab(56.07% 0.1321 -0.1501) |
| OKLCH | oklch(56.07% 0.2 311.3) |
| XYZ | xyz(25.9400, 15.4211, 56.2425) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.59
Purply
#983FB2
ΔE00 3.98
Lightish Purple
#A552E6
ΔE00 5.93
Vibrant Purple
#AD03DE
ΔE00 6.13
Amethyst
#9B5FC0
ΔE00 6.31
Deep Lavender
#8D5EB7
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A46C8 #74C846
analogous
#5946C8 #9A46C8 #C846B5
triadic
#9A46C8 #C89A46 #46C89A
tetradic
#9A46C8 #C85946 #74C846 #46B5C8
square
#9A46C8 #C85946 #74C846 #46B5C8
split-complementary
#9A46C8 #B5C846 #46C859
monochromatic
#552272 #7930A1 #9A46C8 #B475D6 #CEA4E4
Accessibility & contrast
On white
5.14
#9A46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9A46C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A46C8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A46C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A46C8 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#946081
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9a46c8; /* rgb */ color: rgb(154, 70, 200); /* oklch */ color: oklch(56.1% 0.200 311.3);
Tailwind
colors: {
custom: {
50: '#bb7fd9',
500: '#9a46c8',
950: '#000000',
},
}SCSS
$custom: #9a46c8; $custom-light: #bb7fd9; $custom-dark: #000000;
JSON
{
"hex": "#9a46c8",
"rgb": {
"r": 154,
"g": 70,
"b": 200
},
"hsl": {
"h": 278.769,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.5607,
"c": 0.19989,
"h": 311.3
},
"luminance": 0.1542
}Semantic roles & 50–950 ramp
primary
#9A46C8
secondary
#ADD199
accent
#DE4A7E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83