#9A4CDC#9A4CDC
#9A4CDC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.213 H 305.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4CDC |
|---|---|
| RGB | rgb(154, 76, 220) |
| HSL | hsl(273, 67%, 58%) |
| HSV | hsv(273, 65%, 86%) |
| CMYK | cmyk(30%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(48.52, 57.83, -60.96) |
| CIE-LCH | lch(48.52, 84.03, 313.49°) |
| OKLab | oklab(58.15% 0.1238 -0.1728) |
| OKLCH | oklch(58.15% 0.213 305.6) |
| XYZ | xyz(28.8263, 17.2064, 69.4988) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.07
Purpley
#8756E4
ΔE00 4.25
Lighter Purple
#A55AF4
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.68
Electric Purple
#AA23FF
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4CDC #8EDC4C
analogous
#524CDC #9A4CDC #DC4CD6
triadic
#9A4CDC #DC9A4C #4CDC9A
tetradic
#9A4CDC #DC524C #8EDC4C #4CD6DC
square
#9A4CDC #DC524C #8EDC4C #4CD6DC
split-complementary
#9A4CDC #D6DC4C #4CDC52
monochromatic
#5C1C91 #7C26C4 #9A4CDC #B77FE6 #D4B2F0
Accessibility & contrast
On white
4.73
#9A4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9A4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4CDC
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4CDC | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#8E6B8E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9a4cdc; /* rgb */ color: rgb(154, 76, 220); /* oklch */ color: oklch(58.1% 0.213 305.6);
Tailwind
colors: {
custom: {
50: '#bc83e8',
500: '#9a4cdc',
950: '#000000',
},
}SCSS
$custom: #9a4cdc; $custom-light: #bc83e8; $custom-dark: #000000;
JSON
{
"hex": "#9a4cdc",
"rgb": {
"r": 154,
"g": 76,
"b": 220
},
"hsl": {
"h": 272.5,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.58146,
"c": 0.2126,
"h": 305.6
},
"luminance": 0.17206
}Semantic roles & 50–950 ramp
primary
#9A4CDC
secondary
#C0DFA5
accent
#EA3E8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84