#A45FCB#A45FCB
#A45FCB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.170 H 311.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FCB |
|---|---|
| RGB | rgb(164, 95, 203) |
| HSL | hsl(278, 51%, 58%) |
| HSV | hsv(278, 53%, 80%) |
| CMYK | cmyk(19.2%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(52.27, 46.82, -45.18) |
| CIE-LCH | lch(52.27, 65.07, 316.02°) |
| OKLab | oklab(60.82% 0.1133 -0.1264) |
| OKLCH | oklch(60.82% 0.17 311.9) |
| XYZ | xyz(30.1796, 20.3894, 58.8341) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.30
Mediumorchid
#BA55D3
ΔE00 4.20
Lightish Purple
#A552E6
ΔE00 5.05
Deep Lavender
#8D5EB7
ΔE00 5.25
Deep Lilac
#966EBD
ΔE00 5.51
Lighter Purple
#A55AF4
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FCB #86CB5F
analogous
#6E5FCB #A45FCB #CB5FBC
triadic
#A45FCB #CBA45F #5FCBA4
tetradic
#A45FCB #CB6E5F #86CB5F #5FBCCB
square
#A45FCB #CB6E5F #86CB5F #5FBCCB
split-complementary
#A45FCB #BCCB5F #5FCB6E
monochromatic
#642B85 #873AB3 #A45FCB #BE8DDA #D9BBE9
Accessibility & contrast
On white
4.14
#A45FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A45FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FCB
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FCB | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4279CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#A0718C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a45fcb; /* rgb */ color: rgb(164, 95, 203); /* oklch */ color: oklch(60.8% 0.170 311.9);
Tailwind
colors: {
custom: {
50: '#c18fdb',
500: '#a45fcb',
950: '#000000',
},
}SCSS
$custom: #a45fcb; $custom-light: #c18fdb; $custom-dark: #000000;
JSON
{
"hex": "#a45fcb",
"rgb": {
"r": 164,
"g": 95,
"b": 203
},
"hsl": {
"h": 278.333,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.60821,
"c": 0.16975,
"h": 311.9
},
"luminance": 0.20389
}Semantic roles & 50–950 ramp
primary
#A45FCB
secondary
#BDD8AD
accent
#DA4D80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83