#A18EC7#A18EC7
#A18EC7 is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.4% C 0.085 H 299.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A18EC7 |
|---|---|
| RGB | rgb(161, 142, 199) |
| HSL | hsl(260, 34%, 67%) |
| HSV | hsv(260, 29%, 78%) |
| CMYK | cmyk(19.1%, 28.6%, 0%, 22%) |
| CIE-LAB | lab(62.55, 18.71, -26.87) |
| CIE-LCH | lch(62.55, 32.75, 304.85°) |
| OKLab | oklab(68.44% 0.0417 -0.0739) |
| OKLCH | oklch(68.44% 0.085 299.4) |
| XYZ | xyz(34.6775, 31.0465, 58.1874) |
| Luminance | 0.3105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.04
Pale Purple
#B790D4
ΔE00 5.06
Wisteria
#A87DC2
ΔE00 6.26
Heather
#A484AC
ΔE00 7.19
Lavender (survey)
#C79FEF
ΔE00 8.89
Perrywinkle
#8F8CE7
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18EC7 #B4C78E
analogous
#8E98C7 #A18EC7 #BE8EC7
triadic
#A18EC7 #C7A18E #8EC7A1
tetradic
#A18EC7 #C78E98 #B4C78E #8EC7BE
square
#A18EC7 #C78E98 #B4C78E #8EC7BE
split-complementary
#A18EC7 #C7BE8E #98C78E
monochromatic
#614892 #7F65B3 #A18EC7 #C3B7DB #E5E0F0
Accessibility & contrast
On white
2.91
#A18EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#A18EC7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A18EC7
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18EC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18EC7 | 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)
#8297C9
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#9A97A2
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a18ec7; /* rgb */ color: rgb(161, 142, 199); /* oklch */ color: oklch(68.4% 0.085 299.4);
Tailwind
colors: {
custom: {
50: '#bdafd8',
500: '#a18ec7',
950: '#000000',
},
}SCSS
$custom: #a18ec7; $custom-light: #bdafd8; $custom-dark: #000000;
JSON
{
"hex": "#a18ec7",
"rgb": {
"r": 161,
"g": 142,
"b": 199
},
"hsl": {
"h": 260,
"s": 33.728,
"l": 66.863
},
"oklch": {
"l": 0.68438,
"c": 0.08488,
"h": 299.4
},
"luminance": 0.31047
}Semantic roles & 50–950 ramp
primary
#A18EC7
secondary
#DBE2CF
accent
#AD3986
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#121014
muted
#817F83