#A18DCD#A18DCD
#A18DCD is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.5% C 0.095 H 298.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A18DCD |
|---|---|
| RGB | rgb(161, 141, 205) |
| HSL | hsl(259, 39%, 68%) |
| HSV | hsv(259, 31%, 80%) |
| CMYK | cmyk(21.5%, 31.2%, 0%, 19.6%) |
| CIE-LAB | lab(62.54, 20.68, -30.25) |
| CIE-LCH | lch(62.54, 36.65, 304.35°) |
| OKLab | oklab(68.51% 0.0448 -0.0835) |
| OKLCH | oklch(68.51% 0.095 298.2) |
| XYZ | xyz(35.2398, 31.0344, 61.8795) |
| Luminance | 0.3104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.92
Lavender
#B39DDB
ΔE00 5.05
Wisteria
#A87DC2
ΔE00 6.08
Perrywinkle
#8F8CE7
ΔE00 7.80
Lavender (survey)
#C79FEF
ΔE00 8.40
Heather
#A484AC
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18DCD #B9CD8D
analogous
#8D99CD #A18DCD #C18DCD
triadic
#A18DCD #CDA18D #8DCDA1
tetradic
#A18DCD #CD8D99 #B9CD8D #8DCDC1
square
#A18DCD #CD8D99 #B9CD8D #8DCDC1
split-complementary
#A18DCD #CDC18D #99CD8D
monochromatic
#5F449B #7E62BA #A18DCD #C4B8E0 #E7E2F2
Accessibility & contrast
On white
2.91
#A18DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#A18DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18DCD
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18DCD | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#8197CB
Tritanopia (blue-blind)
#9997A4
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a18dcd; /* rgb */ color: rgb(161, 141, 205); /* oklch */ color: oklch(68.5% 0.095 298.2);
Tailwind
colors: {
custom: {
50: '#bdaedc',
500: '#a18dcd',
950: '#000000',
},
}SCSS
$custom: #a18dcd; $custom-light: #bdaedc; $custom-dark: #000000;
JSON
{
"hex": "#a18dcd",
"rgb": {
"r": 161,
"g": 141,
"b": 205
},
"hsl": {
"h": 258.75,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.68509,
"c": 0.09481,
"h": 298.2
},
"luminance": 0.31035
}Semantic roles & 50–950 ramp
primary
#A18DCD
secondary
#DFE5D1
accent
#B2338A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83