#A18CD8#A18CD8
#A18CD8 is a light, moderate violet. Relative luminance 0.313; OKLCH L 68.8% C 0.112 H 296.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A18CD8 |
|---|---|
| RGB | rgb(161, 140, 216) |
| HSL | hsl(257, 49%, 70%) |
| HSV | hsv(257, 35%, 85%) |
| CMYK | cmyk(25.5%, 35.2%, 0%, 15.3%) |
| CIE-LAB | lab(62.75, 23.87, -36.07) |
| CIE-LCH | lch(62.75, 43.25, 303.50°) |
| OKLab | oklab(68.83% 0.049 -0.1002) |
| OKLCH | oklch(68.83% 0.112 296) |
| XYZ | xyz(36.4678, 31.2907, 69.0709) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 5.74
Perrywinkle
#8F8CE7
ΔE00 5.85
Lavender
#B39DDB
ΔE00 5.86
Wisteria
#A87DC2
ΔE00 6.85
Liliac
#C48EFD
ΔE00 8.00
Lavender (survey)
#C79FEF
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18CD8 #C3D88C
analogous
#8C9DD8 #A18CD8 #C78CD8
triadic
#A18CD8 #D8A18C #8CD8A1
tetradic
#A18CD8 #D88C9D #C3D88C #8CD8C7
square
#A18CD8 #D88C9D #C3D88C #8CD8C7
split-complementary
#A18CD8 #D8C78C #9DD88C
monochromatic
#5B3BAE #7C5EC9 #A18CD8 #C6BAE7 #ECE7F7
Accessibility & contrast
On white
2.89
#A18CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#A18CD8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18CD8
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18CD8 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7998DB
Deuteranopia (green-blind)
#7C97D6
Tritanopia (blue-blind)
#9699A8
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a18cd8; /* rgb */ color: rgb(161, 140, 216); /* oklch */ color: oklch(68.8% 0.112 296.0);
Tailwind
colors: {
custom: {
50: '#beade4',
500: '#a18cd8',
950: '#000000',
},
}SCSS
$custom: #a18cd8; $custom-light: #beade4; $custom-dark: #000000;
JSON
{
"hex": "#a18cd8",
"rgb": {
"r": 161,
"g": 140,
"b": 216
},
"hsl": {
"h": 256.579,
"s": 49.351,
"l": 69.804
},
"oklch": {
"l": 0.68826,
"c": 0.11153,
"h": 296
},
"luminance": 0.31291
}Semantic roles & 50–950 ramp
primary
#A18CD8
secondary
#E5EBD5
accent
#BD2994
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121015
muted
#817F84