#A18CD6#A18CD6
#A18CD6 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.7% C 0.109 H 296.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A18CD6 |
|---|---|
| RGB | rgb(161, 140, 214) |
| HSL | hsl(257, 47%, 69%) |
| HSV | hsv(257, 35%, 84%) |
| CMYK | cmyk(24.8%, 34.6%, 0%, 16.1%) |
| CIE-LAB | lab(62.67, 23.39, -35.09) |
| CIE-LCH | lch(62.67, 42.17, 303.69°) |
| OKLab | oklab(68.73% 0.0485 -0.0974) |
| OKLCH | oklch(68.73% 0.109 296.5) |
| XYZ | xyz(36.2108, 31.1879, 67.7174) |
| Luminance | 0.3119 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.52
Lavender
#B39DDB
ΔE00 5.69
Perrywinkle
#8F8CE7
ΔE00 6.16
Wisteria
#A87DC2
ΔE00 6.62
Lavender (survey)
#C79FEF
ΔE00 8.14
Liliac
#C48EFD
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18CD6 #C1D68C
analogous
#8C9CD6 #A18CD6 #C68CD6
triadic
#A18CD6 #D6A18C #8CD6A1
tetradic
#A18CD6 #D68C9C #C1D68C #8CD6C6
square
#A18CD6 #D68C9C #C1D68C #8CD6C6
split-complementary
#A18CD6 #D6C68C #9CD68C
monochromatic
#5C3DAB #7C5FC6 #A18CD6 #C6B9E6 #EBE6F6
Accessibility & contrast
On white
2.90
#A18CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#A18CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18CD6
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18CD6 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7998D9
Deuteranopia (green-blind)
#7D97D4
Tritanopia (blue-blind)
#9698A7
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a18cd6; /* rgb */ color: rgb(161, 140, 214); /* oklch */ color: oklch(68.7% 0.109 296.5);
Tailwind
colors: {
custom: {
50: '#beade3',
500: '#a18cd6',
950: '#000000',
},
}SCSS
$custom: #a18cd6; $custom-light: #beade3; $custom-dark: #000000;
JSON
{
"hex": "#a18cd6",
"rgb": {
"r": 161,
"g": 140,
"b": 214
},
"hsl": {
"h": 257.027,
"s": 47.436,
"l": 69.412
},
"oklch": {
"l": 0.68732,
"c": 0.10879,
"h": 296.5
},
"luminance": 0.31188
}Semantic roles & 50–950 ramp
primary
#A18CD6
secondary
#E4EAD4
accent
#BB2B92
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83