#9A5CD2#9A5CD2
#9A5CD2 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.179 H 305.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A5CD2 |
|---|---|
| RGB | rgb(154, 92, 210) |
| HSL | hsl(272, 57%, 59%) |
| HSV | hsv(272, 56%, 82%) |
| CMYK | cmyk(26.7%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(50.89, 47.43, -51.45) |
| CIE-LCH | lch(50.89, 69.98, 312.67°) |
| OKLab | oklab(59.67% 0.1051 -0.145) |
| OKLCH | oklch(59.67% 0.179 305.9) |
| XYZ | xyz(28.7840, 19.1777, 63.1456) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.39
Lightish Purple
#A552E6
ΔE00 3.60
Deep Lavender
#8D5EB7
ΔE00 4.86
Lighter Purple
#A55AF4
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.26
Mediumpurple
#9370DB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A5CD2 #94D25C
analogous
#5F5CD2 #9A5CD2 #D25CCF
triadic
#9A5CD2 #D29A5C #5CD29A
tetradic
#9A5CD2 #D25F5C #94D25C #5CCFD2
square
#9A5CD2 #D25F5C #94D25C #5CCFD2
split-complementary
#9A5CD2 #CFD25C #5CD25F
monochromatic
#5C278D #7C34BD #9A5CD2 #B88CDF #D5BCEC
Accessibility & contrast
On white
4.34
#9A5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#9A5CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A5CD2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A5CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A5CD2 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3077D6
Deuteranopia (green-blind)
#477ACF
Tritanopia (blue-blind)
#91728E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9a5cd2; /* rgb */ color: rgb(154, 92, 210); /* oklch */ color: oklch(59.7% 0.179 305.9);
Tailwind
colors: {
custom: {
50: '#bb8ce0',
500: '#9a5cd2',
950: '#000000',
},
}SCSS
$custom: #9a5cd2; $custom-light: #bb8ce0; $custom-dark: #000000;
JSON
{
"hex": "#9a5cd2",
"rgb": {
"r": 154,
"g": 92,
"b": 210
},
"hsl": {
"h": 271.525,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.59674,
"c": 0.17905,
"h": 305.9
},
"luminance": 0.19177
}Semantic roles & 50–950 ramp
primary
#9A5CD2
secondary
#C4DCAE
accent
#E04890
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83