#A08ECC#A08ECC
#A08ECC is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.6% C 0.092 H 297.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A08ECC |
|---|---|
| RGB | rgb(160, 142, 204) |
| HSL | hsl(257, 38%, 68%) |
| HSV | hsv(257, 30%, 80%) |
| CMYK | cmyk(21.6%, 30.4%, 0%, 20%) |
| CIE-LAB | lab(62.66, 19.57, -29.51) |
| CIE-LCH | lch(62.66, 35.41, 303.54°) |
| OKLab | oklab(68.57% 0.042 -0.0814) |
| OKLCH | oklch(68.57% 0.092 297.3) |
| XYZ | xyz(35.0669, 31.1790, 61.2857) |
| Luminance | 0.3118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.96
Pale Purple
#B790D4
ΔE00 5.23
Wisteria
#A87DC2
ΔE00 6.50
Perrywinkle
#8F8CE7
ΔE00 7.83
Heather
#A484AC
ΔE00 8.38
Lavender (survey)
#C79FEF
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A08ECC #BACC8E
analogous
#8E9BCC #A08ECC #BF8ECC
triadic
#A08ECC #CCA08E #8ECCA0
tetradic
#A08ECC #CC8E9B #BACC8E #8ECCBF
square
#A08ECC #CC8E9B #BACC8E #8ECCBF
split-complementary
#A08ECC #CCBF8E #9BCC8E
monochromatic
#5E469A #7D64B9 #A08ECC #C3B8DF #E7E2F2
Accessibility & contrast
On white
2.90
#A08ECC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#A08ECC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A08ECC
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A08ECC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A08ECC | 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)
#8098CF
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#9898A4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a08ecc; /* rgb */ color: rgb(160, 142, 204); /* oklch */ color: oklch(68.6% 0.092 297.3);
Tailwind
colors: {
custom: {
50: '#bdafdb',
500: '#a08ecc',
950: '#000000',
},
}SCSS
$custom: #a08ecc; $custom-light: #bdafdb; $custom-dark: #000000;
JSON
{
"hex": "#a08ecc",
"rgb": {
"r": 160,
"g": 142,
"b": 204
},
"hsl": {
"h": 257.419,
"s": 37.805,
"l": 67.843
},
"oklch": {
"l": 0.68568,
"c": 0.09161,
"h": 297.3
},
"luminance": 0.31179
}Semantic roles & 50–950 ramp
primary
#A08ECC
secondary
#DFE4D1
accent
#B1358D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83