#A8A2E2#A8A2E2

#A8A2E2 is a light, moderate blue. Relative luminance 0.397; OKLCH L 74.1% C 0.092 H 288.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#A8A2E2
RGBrgb(168, 162, 226)
HSLhsl(246, 52%, 76%)
HSVhsv(246, 28%, 89%)
CMYKcmyk(25.7%, 28.3%, 0%, 11.4%)
CIE-LABlab(69.22, 15.88, -31.51)
CIE-LCHlch(69.22, 35.28, 296.74°)
OKLaboklab(74.07% 0.0287 -0.0871)
OKLCHoklch(74.07% 0.092 288.2)
XYZxyz(42.7928, 39.6557, 77.3365)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A2E2 #DCE2A2
analogous
#A2BCE2 #A8A2E2 #C8A2E2
triadic
#A8A2E2 #E2A8A2 #A2E2A8
tetradic
#A8A2E2 #E2A2BC #DCE2A2 #A2E2C8
square
#A8A2E2 #E2A2BC #DCE2A2 #A2E2C8
split-complementary
#A8A2E2 #E2C8A2 #BCE2A2
monochromatic
#5145C5 #7C73D3 #A8A2E2 #D4D1F1 #E9E8F8

Accessibility & contrast

On white

2.35
#A8A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#A8A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A2E2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A2E2#FFFFFF#000000##000000
##A8A2E21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AAE5
Deuteranopia (green-blind)
#91A7E0
Tritanopia (blue-blind)
#9BADB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8a2e2;
/* rgb */ color: rgb(168, 162, 226);
/* oklch */ color: oklch(74.1% 0.092 288.2);
Tailwind
colors: {
  custom: {
    50: '#c3bdeb',
    500: '#a8a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #a8a2e2;
$custom-light: #c3bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a2e2",
  "rgb": {
    "r": 168,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 245.625,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74072,
    "c": 0.09168,
    "h": 288.2
  },
  "luminance": 0.39656
}

Semantic roles & 50–950 ramp

primary
#A8A2E2
secondary
#EDEFDC
accent
#C026B1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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