#A54FDA#A54FDA
#A54FDA is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.210 H 310.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A54FDA |
|---|---|
| RGB | rgb(165, 79, 218) |
| HSL | hsl(277, 65%, 58%) |
| HSV | hsv(277, 64%, 85%) |
| CMYK | cmyk(24.3%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(50.28, 58.36, -56.92) |
| CIE-LCH | lch(50.28, 81.52, 315.72°) |
| OKLab | oklab(59.67% 0.1347 -0.1606) |
| OKLCH | oklch(59.67% 0.21 310) |
| XYZ | xyz(30.9655, 18.6539, 68.2854) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.00
Lighter Purple
#A55AF4
ΔE00 4.81
Mediumorchid
#BA55D3
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.40
Purpley
#8756E4
ΔE00 6.03
Electric Purple
#AA23FF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A54FDA #84DA4F
analogous
#5F4FDA #A54FDA #DA4FCA
triadic
#A54FDA #DAA54F #4FDAA5
tetradic
#A54FDA #DA5F4F #84DA4F #4FCADA
square
#A54FDA #DA5F4F #84DA4F #4FCADA
split-complementary
#A54FDA #CADA4F #4FDA5F
monochromatic
#651E90 #8829C3 #A54FDA #BF82E5 #D9B4EF
Accessibility & contrast
On white
4.44
#A54FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#A54FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A54FDA
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A54FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A54FDA | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#9E6B8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a54fda; /* rgb */ color: rgb(165, 79, 218); /* oklch */ color: oklch(59.7% 0.210 310.0);
Tailwind
colors: {
custom: {
50: '#c485e6',
500: '#a54fda',
950: '#000000',
},
}SCSS
$custom: #a54fda; $custom-light: #c485e6; $custom-dark: #000000;
JSON
{
"hex": "#a54fda",
"rgb": {
"r": 165,
"g": 79,
"b": 218
},
"hsl": {
"h": 277.122,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.5967,
"c": 0.20964,
"h": 310
},
"luminance": 0.18653
}Semantic roles & 50–950 ramp
primary
#A54FDA
secondary
#BCDEA7
accent
#E84080
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84