#A8A2EF#A8A2EF

#A8A2EF is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.110 H 287.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A2EF
RGBrgb(168, 162, 239)
HSLhsl(245, 71%, 79%)
HSVhsv(245, 32%, 94%)
CMYKcmyk(29.7%, 32.2%, 0%, 6.3%)
CIE-LABlab(69.75, 19.05, -37.81)
CIE-LCHlch(69.75, 42.33, 296.75°)
OKLaboklab(74.65% 0.0321 -0.1051)
OKLCHoklch(74.65% 0.11 287)
XYZxyz(44.6447, 40.3965, 87.0897)
Luminance0.4040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2EF #E9EFA2
analogous
#A2C2EF #A8A2EF #CEA2EF
triadic
#A8A2EF #EFA8A2 #A2EFA8
tetradic
#A8A2EF #EFA2C2 #E9EFA2 #A2EFCE
square
#A8A2EF #EFA2C2 #E9EFA2 #A2EFCE
split-complementary
#A8A2EF #EFCEA2 #C2EFA2
monochromatic
#463ADD #776EE6 #A8A2EF #D9D6F8 #E7E5FB

Accessibility & contrast

On white

2.31
#A8A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A8A2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2EF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2EF#FFFFFF#000000##000000
##A8A2EF1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#97B0BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a2ef;
/* rgb */ color: rgb(168, 162, 239);
/* oklch */ color: oklch(74.7% 0.110 287.0);
Tailwind
colors: {
  custom: {
    50: '#c3bdf4',
    500: '#a8a2ef',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2ef;
$custom-light: #c3bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2ef",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 244.675,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74652,
    "c": 0.10992,
    "h": 287
  },
  "luminance": 0.40397
}

Semantic roles & 50–950 ramp

primary
#A8A2EF
secondary
#F0F2D9
accent
#D313C4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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