#A8A2E7#A8A2E7

#A8A2E7 is a light, moderate blue. Relative luminance 0.399; OKLCH L 74.3% C 0.099 H 287.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A8A2E7
RGBrgb(168, 162, 231)
HSLhsl(245, 59%, 77%)
HSVhsv(245, 30%, 91%)
CMYKcmyk(27.3%, 29.9%, 0%, 9.4%)
CIE-LABlab(69.42, 17.09, -33.94)
CIE-LCHlch(69.42, 38.00, 296.72°)
OKLaboklab(74.29% 0.0301 -0.094)
OKLCHoklch(74.29% 0.099 287.7)
XYZxyz(43.4889, 39.9341, 81.0026)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2E7 #E1E7A2
analogous
#A2BFE7 #A8A2E7 #CAA2E7
triadic
#A8A2E7 #E7A8A2 #A2E7A8
tetradic
#A8A2E7 #E7A2BF #E1E7A2 #A2E7CA
square
#A8A2E7 #E7A2BF #E1E7A2 #A2E7CA
split-complementary
#A8A2E7 #E7CAA2 #BFE7A2
monochromatic
#4D41CE #7A71DA #A8A2E7 #D6D3F4 #E8E7F9

Accessibility & contrast

On white

2.34
#A8A2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#A8A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2E7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2E7#FFFFFF#000000##000000
##A8A2E71.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEA
Deuteranopia (green-blind)
#8FA8E5
Tritanopia (blue-blind)
#9AAEBB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8a2e7;
/* rgb */ color: rgb(168, 162, 231);
/* oklch */ color: oklch(74.3% 0.099 287.7);
Tailwind
colors: {
  custom: {
    50: '#c3bdef',
    500: '#a8a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2e7;
$custom-light: #c3bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2e7",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 245.217,
    "s": 58.974,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74291,
    "c": 0.09872,
    "h": 287.7
  },
  "luminance": 0.39935
}

Semantic roles & 50–950 ramp

primary
#A8A2E7
secondary
#EEF0DB
accent
#C71FB8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #A8A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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