#A8A2E9#A8A2E9

#A8A2E9 is a light, moderate blue. Relative luminance 0.400; OKLCH L 74.4% C 0.102 H 287.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A8A2E9
RGBrgb(168, 162, 233)
HSLhsl(245, 62%, 77%)
HSVhsv(245, 30%, 91%)
CMYKcmyk(27.9%, 30.5%, 0%, 8.6%)
CIE-LABlab(69.50, 17.57, -34.91)
CIE-LCHlch(69.50, 39.08, 296.72°)
OKLaboklab(74.38% 0.0306 -0.0968)
OKLCHoklch(74.38% 0.102 287.5)
XYZxyz(43.7730, 40.0478, 82.4988)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2E9 #E3E9A2
analogous
#A2C0E9 #A8A2E9 #CBA2E9
triadic
#A8A2E9 #E9A8A2 #A2E9A8
tetradic
#A8A2E9 #E9A2C0 #E3E9A2 #A2E9CB
square
#A8A2E9 #E9A2C0 #E3E9A2 #A2E9CB
split-complementary
#A8A2E9 #E9CBA2 #C0E9A2
monochromatic
#4B3FD2 #7A71DD #A8A2E9 #D6D3F5 #E8E6F9

Accessibility & contrast

On white

2.33
#A8A2E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A8A2E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2E9
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2E9#FFFFFF#000000##000000
##A8A2E91.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEC
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#99AEBB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a2e9;
/* rgb */ color: rgb(168, 162, 233);
/* oklch */ color: oklch(74.4% 0.102 287.5);
Tailwind
colors: {
  custom: {
    50: '#c3bdf0',
    500: '#a8a2e9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2e9;
$custom-light: #c3bdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2e9",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 233
  },
  "hsl": {
    "h": 245.07,
    "s": 61.739,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7438,
    "c": 0.10153,
    "h": 287.5
  },
  "luminance": 0.40049
}

Semantic roles & 50–950 ramp

primary
#A8A2E9
secondary
#EFF1DA
accent
#C91CBB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #A8A2E9

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

Preview Lab → · Contrast checker → · Palette generator →

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