#A45FDB#A45FDB
#A45FDB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.188 H 307.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FDB |
|---|---|
| RGB | rgb(164, 95, 219) |
| HSL | hsl(273, 63%, 62%) |
| HSV | hsv(273, 57%, 86%) |
| CMYK | cmyk(25.1%, 56.6%, 0%, 14.1%) |
| CIE-LAB | lab(53.16, 50.41, -52.88) |
| CIE-LCH | lch(53.16, 73.06, 313.63°) |
| OKLab | oklab(61.76% 0.1141 -0.1489) |
| OKLCH | oklch(61.76% 0.188 307.5) |
| XYZ | xyz(32.1856, 21.1918, 69.3990) |
| Luminance | 0.2119 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.19
Lighter Purple
#A55AF4
ΔE00 3.73
Amethyst
#9B5FC0
ΔE00 4.52
Mediumorchid
#BA55D3
ΔE00 4.90
Mediumpurple
#9370DB
ΔE00 5.65
Light Urple
#B36FF6
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FDB #96DB5F
analogous
#665FDB #A45FDB #DB5FD4
triadic
#A45FDB #DBA45F #5FDBA4
tetradic
#A45FDB #DB665F #96DB5F #5FD4DB
square
#A45FDB #DB665F #96DB5F #5FD4DB
split-complementary
#A45FDB #D4DB5F #5FDB66
monochromatic
#67239C #872ECE #A45FDB #C091E6 #DDC3F1
Accessibility & contrast
On white
4.01
#A45FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#A45FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FDB
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FDB | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327CDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#9C7694
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a45fdb; /* rgb */ color: rgb(164, 95, 219); /* oklch */ color: oklch(61.8% 0.188 307.5);
Tailwind
colors: {
custom: {
50: '#c28fe7',
500: '#a45fdb',
950: '#000000',
},
}SCSS
$custom: #a45fdb; $custom-light: #c28fe7; $custom-dark: #000000;
JSON
{
"hex": "#a45fdb",
"rgb": {
"r": 164,
"g": 95,
"b": 219
},
"hsl": {
"h": 273.387,
"s": 63.265,
"l": 61.569
},
"oklch": {
"l": 0.61757,
"c": 0.18758,
"h": 307.5
},
"luminance": 0.21191
}Semantic roles & 50–950 ramp
primary
#A45FDB
secondary
#C8E2B4
accent
#CB1A69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84