#A8A4EC#A8A4EC

#A8A4EC is a light, moderate blue. Relative luminance 0.409; OKLCH L 74.9% C 0.103 H 286.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A8A4EC
RGBrgb(168, 164, 236)
HSLhsl(243, 65%, 78%)
HSVhsv(243, 31%, 93%)
CMYKcmyk(28.8%, 30.5%, 0%, 7.5%)
CIE-LABlab(70.13, 17.19, -35.58)
CIE-LCHlch(70.13, 39.51, 295.78°)
OKLaboklab(74.9% 0.0286 -0.0987)
OKLCHoklch(74.9% 0.103 286.2)
XYZxyz(44.5603, 40.9309, 84.8933)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A4EC #E8ECA4
analogous
#A4C4EC #A8A4EC #CCA4EC
triadic
#A8A4EC #ECA8A4 #A4ECA8
tetradic
#A8A4EC #ECA4C4 #E8ECA4 #A4ECCC
square
#A8A4EC #ECA4C4 #E8ECA4 #A4ECCC
split-complementary
#A8A4EC #ECCCA4 #C4ECA4
monochromatic
#473FD7 #7871E1 #A8A4EC #D8D7F7 #E7E6FA

Accessibility & contrast

On white

2.29
#A8A4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A8A4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A4EC
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A4EC#FFFFFF#000000##000000
##A8A4EC1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#98B1BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a4ec;
/* rgb */ color: rgb(168, 164, 236);
/* oklch */ color: oklch(74.9% 0.103 286.2);
Tailwind
colors: {
  custom: {
    50: '#c3bff2',
    500: '#a8a4ec',
    950: '#000000',
  },
}
SCSS
$custom: #a8a4ec;
$custom-light: #c3bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a4ec",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 243.333,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74901,
    "c": 0.10282,
    "h": 286.2
  },
  "luminance": 0.40932
}

Semantic roles & 50–950 ramp

primary
#A8A4EC
secondary
#F0F1DA
accent
#CD18C3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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