#A45CE6#A45CE6
#A45CE6 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.204 H 305.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A45CE6 |
|---|---|
| RGB | rgb(164, 92, 230) |
| HSL | hsl(271, 73%, 63%) |
| HSV | hsv(271, 60%, 90%) |
| CMYK | cmyk(28.7%, 60%, 0%, 9.8%) |
| CIE-LAB | lab(53.23, 54.48, -58.97) |
| CIE-LCH | lch(53.23, 80.28, 312.73°) |
| OKLab | oklab(62.02% 0.1178 -0.1667) |
| OKLCH | oklch(62.02% 0.204 305.2) |
| XYZ | xyz(33.4168, 21.2602, 77.1907) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 2.18
Mediumorchid
#BA55D3
ΔE00 5.78
Purpley
#8756E4
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 5.89
Mediumpurple
#9370DB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45CE6 #9EE65C
analogous
#5F5CE6 #A45CE6 #E65CE3
triadic
#A45CE6 #E6A45C #5CE6A4
tetradic
#A45CE6 #E65F5C #9EE65C #5CE3E6
square
#A45CE6 #E65F5C #9EE65C #5CE3E6
split-complementary
#A45CE6 #E3E65C #5CE65F
monochromatic
#671BAD #8627DE #A45CE6 #C291EE #DFC6F6
Accessibility & contrast
On white
4.00
#A45CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#A45CE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45CE6
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45CE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45CE6 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#147DEA
Deuteranopia (green-blind)
#3E7FE3
Tritanopia (blue-blind)
#997898
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a45ce6; /* rgb */ color: rgb(164, 92, 230); /* oklch */ color: oklch(62.0% 0.204 305.2);
Tailwind
colors: {
custom: {
50: '#c38def',
500: '#a45ce6',
950: '#000000',
},
}SCSS
$custom: #a45ce6; $custom-light: #c38def; $custom-dark: #000000;
JSON
{
"hex": "#a45ce6",
"rgb": {
"r": 164,
"g": 92,
"b": 230
},
"hsl": {
"h": 271.304,
"s": 73.404,
"l": 63.137
},
"oklch": {
"l": 0.6202,
"c": 0.20414,
"h": 305.2
},
"luminance": 0.2126
}Semantic roles & 50–950 ramp
primary
#A45CE6
secondary
#CEE8B6
accent
#D6106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84