#A8A2EB#A8A2EB

#A8A2EB is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.5% C 0.104 H 287.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A8A2EB
RGBrgb(168, 162, 235)
HSLhsl(245, 65%, 78%)
HSVhsv(245, 31%, 92%)
CMYKcmyk(28.5%, 31.1%, 0%, 7.8%)
CIE-LABlab(69.59, 18.06, -35.88)
CIE-LCHlch(69.59, 40.17, 296.73°)
OKLaboklab(74.47% 0.0311 -0.0996)
OKLCHoklch(74.47% 0.104 287.3)
XYZxyz(44.0603, 40.1627, 84.0120)
Luminance0.4016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2EB #E5EBA2
analogous
#A2C0EB #A8A2EB #CDA2EB
triadic
#A8A2EB #EBA8A2 #A2EBA8
tetradic
#A8A2EB #EBA2C0 #E5EBA2 #A2EBCD
square
#A8A2EB #EBA2C0 #E5EBA2 #A2EBCD
split-complementary
#A8A2EB #EBCDA2 #C0EBA2
monochromatic
#4A3DD5 #7970E0 #A8A2EB #D7D4F6 #E7E6FA

Accessibility & contrast

On white

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

On black

9.03
#A8A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2EB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2EB#FFFFFF#000000##000000
##A8A2EB1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#98AFBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a2eb;
/* rgb */ color: rgb(168, 162, 235);
/* oklch */ color: oklch(74.5% 0.104 287.3);
Tailwind
colors: {
  custom: {
    50: '#c3bdf1',
    500: '#a8a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2eb;
$custom-light: #c3bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2eb",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 244.932,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7447,
    "c": 0.10433,
    "h": 287.3
  },
  "luminance": 0.40164
}

Semantic roles & 50–950 ramp

primary
#A8A2EB
secondary
#EFF1DA
accent
#CC19BE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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