#A45FE6#A45FE6
#A45FE6 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.200 H 304.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FE6 |
|---|---|
| RGB | rgb(164, 95, 230) |
| HSL | hsl(271, 73%, 64%) |
| HSV | hsv(271, 59%, 90%) |
| CMYK | cmyk(28.7%, 58.7%, 0%, 9.8%) |
| CIE-LAB | lab(53.80, 52.95, -58.05) |
| CIE-LCH | lch(53.80, 78.57, 312.37°) |
| OKLab | oklab(62.44% 0.1142 -0.164) |
| OKLCH | oklch(62.44% 0.2 304.8) |
| XYZ | xyz(33.6819, 21.7903, 77.2791) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.13
Lightish Purple
#A552E6
ΔE00 2.88
Light Urple
#B36FF6
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.48
Mediumorchid
#BA55D3
ΔE00 5.92
Amethyst
#9B5FC0
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FE6 #A1E65F
analogous
#605FE6 #A45FE6 #E65FE4
triadic
#A45FE6 #E6A45F #5FE6A4
tetradic
#A45FE6 #E6605F #A1E65F #5FE4E6
square
#A45FE6 #E6605F #A1E65F #5FE4E6
split-complementary
#A45FE6 #E4E65F #5FE660
monochromatic
#671BAF #862ADE #A45FE6 #C294EE #E0C9F7
Accessibility & contrast
On white
3.92
#A45FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#A45FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FE6
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FE6 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#217FEA
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#987A9A
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a45fe6; /* rgb */ color: rgb(164, 95, 230); /* oklch */ color: oklch(62.4% 0.200 304.8);
Tailwind
colors: {
custom: {
50: '#c38fef',
500: '#a45fe6',
950: '#000000',
},
}SCSS
$custom: #a45fe6; $custom-light: #c38fef; $custom-dark: #000000;
JSON
{
"hex": "#a45fe6",
"rgb": {
"r": 164,
"g": 95,
"b": 230
},
"hsl": {
"h": 270.667,
"s": 72.973,
"l": 63.725
},
"oklch": {
"l": 0.62436,
"c": 0.19987,
"h": 304.8
},
"luminance": 0.2179
}Semantic roles & 50–950 ramp
primary
#A45FE6
secondary
#D0E8B9
accent
#D51071
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84