#A45FDF#A45FDF
#A45FDF is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.192 H 306.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FDF |
|---|---|
| RGB | rgb(164, 95, 223) |
| HSL | hsl(272, 67%, 62%) |
| HSV | hsv(272, 57%, 87%) |
| CMYK | cmyk(26.5%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(53.39, 51.33, -54.77) |
| CIE-LCH | lch(53.39, 75.06, 313.14°) |
| OKLab | oklab(62% 0.1142 -0.1544) |
| OKLCH | oklch(62% 0.192 306.5) |
| XYZ | xyz(32.7185, 21.4050, 72.2057) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.96
Lighter Purple
#A55AF4
ΔE00 3.12
Amethyst
#9B5FC0
ΔE00 5.11
Mediumorchid
#BA55D3
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FDF #9ADF5F
analogous
#645FDF #A45FDF #DF5FDA
triadic
#A45FDF #DFA45F #5FDFA4
tetradic
#A45FDF #DF645F #9ADF5F #5FDADF
square
#A45FDF #DF645F #9ADF5F #5FDADF
split-complementary
#A45FDF #DADF5F #5FDF64
monochromatic
#6721A3 #872CD5 #A45FDF #C192E9 #DEC5F3
Accessibility & contrast
On white
3.98
#A45FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#A45FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FDF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FDF | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#9A7896
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a45fdf; /* rgb */ color: rgb(164, 95, 223); /* oklch */ color: oklch(62.0% 0.192 306.5);
Tailwind
colors: {
custom: {
50: '#c28fea',
500: '#a45fdf',
950: '#000000',
},
}SCSS
$custom: #a45fdf; $custom-light: #c28fea; $custom-dark: #000000;
JSON
{
"hex": "#a45fdf",
"rgb": {
"r": 164,
"g": 95,
"b": 223
},
"hsl": {
"h": 272.344,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.62001,
"c": 0.19205,
"h": 306.5
},
"luminance": 0.21405
}Semantic roles & 50–950 ramp
primary
#A45FDF
secondary
#CBE4B6
accent
#CF176C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84