#A8A2EE#A8A2EE

#A8A2EE is a light, moderate blue. Relative luminance 0.403; OKLCH L 74.6% C 0.109 H 287.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A8A2EE
RGBrgb(168, 162, 238)
HSLhsl(245, 69%, 78%)
HSVhsv(245, 32%, 93%)
CMYKcmyk(29.4%, 31.9%, 0%, 6.7%)
CIE-LABlab(69.71, 18.81, -37.32)
CIE-LCHlch(69.71, 41.79, 296.74°)
OKLaboklab(74.61% 0.0319 -0.1037)
OKLCHoklch(74.61% 0.109 287.1)
XYZxyz(44.4974, 40.3375, 86.3138)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2EE #E8EEA2
analogous
#A2C2EE #A8A2EE #CEA2EE
triadic
#A8A2EE #EEA8A2 #A2EEA8
tetradic
#A8A2EE #EEA2C2 #E8EEA2 #A2EECE
square
#A8A2EE #EEA2C2 #E8EEA2 #A2EECE
split-complementary
#A8A2EE #EECEA2 #C2EEA2
monochromatic
#473BDB #786EE5 #A8A2EE #D8D6F7 #E7E5FA

Accessibility & contrast

On white

2.32
#A8A2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#A8A2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2EE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2EE#FFFFFF#000000##000000
##A8A2EE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#97B0BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a2ee;
/* rgb */ color: rgb(168, 162, 238);
/* oklch */ color: oklch(74.6% 0.109 287.1);
Tailwind
colors: {
  custom: {
    50: '#c3bdf4',
    500: '#a8a2ee',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2ee;
$custom-light: #c3bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2ee",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 244.737,
    "s": 69.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.10853,
    "h": 287.1
  },
  "luminance": 0.40339
}

Semantic roles & 50–950 ramp

primary
#A8A2EE
secondary
#F0F2D9
accent
#D114C2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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