#A54FDF#A54FDF
#A54FDF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.215 H 308.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A54FDF |
|---|---|
| RGB | rgb(165, 79, 223) |
| HSL | hsl(276, 69%, 59%) |
| HSV | hsv(276, 65%, 87%) |
| CMYK | cmyk(26%, 64.6%, 0%, 12.5%) |
| CIE-LAB | lab(50.59, 59.45, -59.25) |
| CIE-LCH | lch(50.59, 83.94, 315.10°) |
| OKLab | oklab(60% 0.1344 -0.1675) |
| OKLCH | oklch(60% 0.215 308.8) |
| XYZ | xyz(31.6296, 18.9195, 71.7833) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.30
Lighter Purple
#A55AF4
ΔE00 4.16
Mediumorchid
#BA55D3
ΔE00 5.40
Purpley
#8756E4
ΔE00 5.69
Amethyst
#9B5FC0
ΔE00 5.92
Electric Purple
#AA23FF
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54FDF #89DF4F
analogous
#5D4FDF #A54FDF #DF4FD1
triadic
#A54FDF #DFA54F #4FDFA5
tetradic
#A54FDF #DF5D4F #89DF4F #4FD1DF
square
#A54FDF #DF5D4F #89DF4F #4FD1DF
split-complementary
#A54FDF #D1DF4F #4FDF5D
monochromatic
#661C98 #8925CC #A54FDF #BF83E8 #DAB7F2
Accessibility & contrast
On white
4.39
#A54FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#A54FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54FDF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54FDF | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#9C6D90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a54fdf; /* rgb */ color: rgb(165, 79, 223); /* oklch */ color: oklch(60.0% 0.215 308.8);
Tailwind
colors: {
custom: {
50: '#c486ea',
500: '#a54fdf',
950: '#000000',
},
}SCSS
$custom: #a54fdf; $custom-light: #c486ea; $custom-dark: #000000;
JSON
{
"hex": "#a54fdf",
"rgb": {
"r": 165,
"g": 79,
"b": 223
},
"hsl": {
"h": 275.833,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.59996,
"c": 0.21474,
"h": 308.8
},
"luminance": 0.18919
}Semantic roles & 50–950 ramp
primary
#A54FDF
secondary
#BFE1A9
accent
#EC3C83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84