#A18CD2#A18CD2
#A18CD2 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.5% C 0.103 H 297.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A18CD2 |
|---|---|
| RGB | rgb(161, 140, 210) |
| HSL | hsl(258, 44%, 69%) |
| HSV | hsv(258, 33%, 82%) |
| CMYK | cmyk(23.3%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(62.50, 22.43, -33.12) |
| CIE-LCH | lch(62.50, 40.00, 304.11°) |
| OKLab | oklab(68.55% 0.0475 -0.0917) |
| OKLCH | oklch(68.55% 0.103 297.4) |
| XYZ | xyz(35.7062, 30.9861, 65.0600) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.16
Lavender
#B39DDB
ΔE00 5.43
Wisteria
#A87DC2
ΔE00 6.19
Perrywinkle
#8F8CE7
ΔE00 6.84
Lavender (survey)
#C79FEF
ΔE00 8.23
Liliac
#C48EFD
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18CD2 #BDD28C
analogous
#8C9AD2 #A18CD2 #C48CD2
triadic
#A18CD2 #D2A18C #8CD2A1
tetradic
#A18CD2 #D28C9A #BDD28C #8CD2C4
square
#A18CD2 #D28C9A #BDD28C #8CD2C4
split-complementary
#A18CD2 #D2C48C #9AD28C
monochromatic
#5E40A4 #7D60C1 #A18CD2 #C5B8E3 #E9E4F4
Accessibility & contrast
On white
2.92
#A18CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#A18CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18CD2
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18CD2 | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B97D5
Deuteranopia (green-blind)
#7E96D0
Tritanopia (blue-blind)
#9897A6
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a18cd2; /* rgb */ color: rgb(161, 140, 210); /* oklch */ color: oklch(68.5% 0.103 297.4);
Tailwind
colors: {
custom: {
50: '#beade0',
500: '#a18cd2',
950: '#000000',
},
}SCSS
$custom: #a18cd2; $custom-light: #beade0; $custom-dark: #000000;
JSON
{
"hex": "#a18cd2",
"rgb": {
"r": 161,
"g": 140,
"b": 210
},
"hsl": {
"h": 258,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.68546,
"c": 0.10331,
"h": 297.4
},
"luminance": 0.30986
}Semantic roles & 50–950 ramp
primary
#A18CD2
secondary
#E1E7D2
accent
#B72F8E
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83