#A893EC#A893EC
#A893EC is a light, vivid violet. Relative luminance 0.352; OKLCH L 71.7% C 0.128 H 293.8°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A893EC |
|---|---|
| RGB | rgb(168, 147, 236) |
| HSL | hsl(254, 70%, 75%) |
| HSV | hsv(254, 38%, 93%) |
| CMYK | cmyk(28.8%, 37.7%, 0%, 7.5%) |
| CIE-LAB | lab(65.94, 26.79, -42.11) |
| CIE-LCH | lch(65.94, 49.91, 302.46°) |
| OKLab | oklab(71.69% 0.0517 -0.1175) |
| OKLCH | oklch(71.69% 0.128 293.8) |
| XYZ | xyz(41.7188, 35.2478, 83.9461) |
| Luminance | 0.3525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.29
Lavender
#B39DDB
ΔE00 6.16
Liliac
#C48EFD
ΔE00 6.20
Pastel Purple
#CAA0FF
ΔE00 6.70
Baby Purple
#CA9BF7
ΔE00 6.78
Lavender (survey)
#C79FEF
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A893EC #D7EC93
analogous
#93ABEC #A893EC #D493EC
triadic
#A893EC #ECA893 #93ECA8
tetradic
#A893EC #EC93AB #D7EC93 #93ECD4
square
#A893EC #EC93AB #D7EC93 #93ECD4
split-complementary
#A893EC #ECD493 #ABEC93
monochromatic
#542BDA #7E5FE3 #A893EC #D2C7F5 #EAE5FA
Accessibility & contrast
On white
2.61
#A893EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.05
#A893EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A893EC
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A893EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A893EC | 1.00 | 2.61 | 8.05 | 8.05 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#99A3B4
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a893ec; /* rgb */ color: rgb(168, 147, 236); /* oklch */ color: oklch(71.7% 0.128 293.8);
Tailwind
colors: {
custom: {
50: '#c4b3f2',
500: '#a893ec',
950: '#000000',
},
}SCSS
$custom: #a893ec; $custom-light: #c4b3f2; $custom-dark: #000000;
JSON
{
"hex": "#a893ec",
"rgb": {
"r": 168,
"g": 147,
"b": 236
},
"hsl": {
"h": 254.157,
"s": 70.079,
"l": 75.098
},
"oklch": {
"l": 0.71694,
"c": 0.12841,
"h": 293.8
},
"luminance": 0.35248
}Semantic roles & 50–950 ramp
primary
#A893EC
secondary
#ECF2D9
accent
#D213A5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085