#A54CDF#A54CDF
#A54CDF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.219 H 309.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A54CDF |
|---|---|
| RGB | rgb(165, 76, 223) |
| HSL | hsl(276, 70%, 59%) |
| HSV | hsv(276, 66%, 87%) |
| CMYK | cmyk(26%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(50.09, 60.83, -60.06) |
| CIE-LCH | lch(50.09, 85.48, 315.37°) |
| OKLab | oklab(59.64% 0.1377 -0.1698) |
| OKLCH | oklch(59.64% 0.219 309) |
| XYZ | xyz(31.4181, 18.4965, 71.7128) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.75
Lighter Purple
#A55AF4
ΔE00 4.61
Mediumorchid
#BA55D3
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.75
Electric Purple
#AA23FF
ΔE00 5.75
Neon Purple
#BC13FE
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54CDF #86DF4C
analogous
#5B4CDF #A54CDF #DF4CCF
triadic
#A54CDF #DFA54C #4CDFA5
tetradic
#A54CDF #DF5B4C #86DF4C #4CCFDF
square
#A54CDF #DF5B4C #86DF4C #4CCFDF
split-complementary
#A54CDF #CFDF4C #4CDF5B
monochromatic
#651B96 #8824CA #A54CDF #BF80E8 #D9B4F2
Accessibility & contrast
On white
4.47
#A54CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#A54CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54CDF
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54CDF | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#9D6B8F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a54cdf; /* rgb */ color: rgb(165, 76, 223); /* oklch */ color: oklch(59.6% 0.219 309.0);
Tailwind
colors: {
custom: {
50: '#c484ea',
500: '#a54cdf',
950: '#000000',
},
}SCSS
$custom: #a54cdf; $custom-light: #c484ea; $custom-dark: #000000;
JSON
{
"hex": "#a54cdf",
"rgb": {
"r": 165,
"g": 76,
"b": 223
},
"hsl": {
"h": 276.327,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.59636,
"c": 0.21865,
"h": 309
},
"luminance": 0.18496
}Semantic roles & 50–950 ramp
primary
#A54CDF
secondary
#BDE0A6
accent
#EC3B81
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84