#A8A2ED#A8A2ED

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

Color values

HEX#A8A2ED
RGBrgb(168, 162, 237)
HSLhsl(245, 68%, 78%)
HSVhsv(245, 32%, 93%)
CMYKcmyk(29.1%, 31.6%, 0%, 7.1%)
CIE-LABlab(69.67, 18.56, -36.84)
CIE-LCHlch(69.67, 41.25, 296.73°)
OKLaboklab(74.56% 0.0316 -0.1024)
OKLCHoklch(74.56% 0.107 287.2)
XYZxyz(44.3509, 40.2789, 85.5423)
Luminance0.4028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2ED #E7EDA2
analogous
#A2C1ED #A8A2ED #CDA2ED
triadic
#A8A2ED #EDA8A2 #A2EDA8
tetradic
#A8A2ED #EDA2C1 #E7EDA2 #A2EDCD
square
#A8A2ED #EDA2C1 #E7EDA2 #A2EDCD
split-complementary
#A8A2ED #EDCDA2 #C1EDA2
monochromatic
#483BD9 #786FE3 #A8A2ED #D8D5F7 #E7E5FA

Accessibility & contrast

On white

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

On black

9.06
#A8A2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2ED
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2ED#FFFFFF#000000##000000
##A8A2ED1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#98AFBD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a2ed;
/* rgb */ color: rgb(168, 162, 237);
/* oklch */ color: oklch(74.6% 0.107 287.2);
Tailwind
colors: {
  custom: {
    50: '#c3bdf3',
    500: '#a8a2ed',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2ed;
$custom-light: #c3bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2ed",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 244.8,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74561,
    "c": 0.10713,
    "h": 287.2
  },
  "luminance": 0.4028
}

Semantic roles & 50–950 ramp

primary
#A8A2ED
secondary
#F0F2D9
accent
#CF16C1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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