#A8A4EF#A8A4EF

#A8A4EF is a light, moderate blue. Relative luminance 0.411; OKLCH L 75.0% C 0.107 H 286.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A8A4EF
RGBrgb(168, 164, 239)
HSLhsl(243, 70%, 79%)
HSVhsv(243, 31%, 94%)
CMYKcmyk(29.7%, 31.4%, 0%, 6.3%)
CIE-LABlab(70.25, 17.93, -37.03)
CIE-LCHlch(70.25, 41.14, 295.83°)
OKLaboklab(75.04% 0.0294 -0.1029)
OKLCHoklch(75.04% 0.107 286)
XYZxyz(44.9998, 41.1067, 87.2081)
Luminance0.4111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A4EF #EBEFA4
analogous
#A4C6EF #A8A4EF #CEA4EF
triadic
#A8A4EF #EFA8A4 #A4EFA8
tetradic
#A8A4EF #EFA4C6 #EBEFA4 #A4EFCE
square
#A8A4EF #EFA4C6 #EBEFA4 #A4EFCE
split-complementary
#A8A4EF #EFCEA4 #C6EFA4
monochromatic
#443CDD #7670E6 #A8A4EF #DAD8F8 #E6E5FA

Accessibility & contrast

On white

2.28
#A8A4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A8A4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A4EF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A4EF#FFFFFF#000000##000000
##A8A4EF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#8DAAED
Tritanopia (blue-blind)
#97B1BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a4ef;
/* rgb */ color: rgb(168, 164, 239);
/* oklch */ color: oklch(75.0% 0.107 286.0);
Tailwind
colors: {
  custom: {
    50: '#c3bff4',
    500: '#a8a4ef',
    950: '#000000',
  },
}
SCSS
$custom: #a8a4ef;
$custom-light: #c3bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a4ef",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 243.2,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75037,
    "c": 0.10702,
    "h": 286
  },
  "luminance": 0.41108
}

Semantic roles & 50–950 ramp

primary
#A8A4EF
secondary
#F1F2D9
accent
#D213C8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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