#A8A0EC#A8A0EC

#A8A0EC is a light, moderate blue. Relative luminance 0.395; OKLCH L 74.1% C 0.109 H 288.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#A8A0EC
RGBrgb(168, 160, 236)
HSLhsl(246, 67%, 78%)
HSVhsv(246, 32%, 93%)
CMYKcmyk(28.8%, 32.2%, 0%, 7.5%)
CIE-LABlab(69.13, 19.44, -37.14)
CIE-LCHlch(69.13, 41.92, 297.63°)
OKLaboklab(74.13% 0.0341 -0.1032)
OKLCHoklch(74.13% 0.109 288.3)
XYZxyz(43.8557, 39.5216, 84.6585)
Luminance0.3952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A0EC #E4ECA0
analogous
#A0BEEC #A8A0EC #CEA0EC
triadic
#A8A0EC #ECA8A0 #A0ECA8
tetradic
#A8A0EC #ECA0BE #E4ECA0 #A0ECCE
square
#A8A0EC #ECA0BE #E4ECA0 #A0ECCE
split-complementary
#A8A0EC #ECCEA0 #BEECA0
monochromatic
#4B3AD8 #796DE2 #A8A0EC #D7D3F6 #E8E5FA

Accessibility & contrast

On white

2.36
#A8A0EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#A8A0EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A0EC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A0EC#FFFFFF#000000##000000
##A8A0EC1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEF
Deuteranopia (green-blind)
#8AA7EA
Tritanopia (blue-blind)
#98ADBB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8a0ec;
/* rgb */ color: rgb(168, 160, 236);
/* oklch */ color: oklch(74.1% 0.109 288.3);
Tailwind
colors: {
  custom: {
    50: '#c3bcf2',
    500: '#a8a0ec',
    950: '#000000',
  },
}
SCSS
$custom: #a8a0ec;
$custom-light: #c3bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a0ec",
  "rgb": {
    "r": 168,
    "g": 160,
    "b": 236
  },
  "hsl": {
    "h": 246.316,
    "s": 66.667,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74132,
    "c": 0.10868,
    "h": 288.3
  },
  "luminance": 0.39523
}

Semantic roles & 50–950 ramp

primary
#A8A0EC
secondary
#EFF1DA
accent
#CF17BB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A0EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A8A0EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva