#A8A5EE#A8A5EE

#A8A5EE is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.2% C 0.104 H 285.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A8A5EE
RGBrgb(168, 165, 238)
HSLhsl(242, 68%, 79%)
HSVhsv(242, 31%, 93%)
CMYKcmyk(29.4%, 30.7%, 0%, 6.7%)
CIE-LABlab(70.46, 17.12, -36.16)
CIE-LCHlch(70.46, 40.00, 295.33°)
OKLaboklab(75.19% 0.0278 -0.1004)
OKLCHoklch(75.19% 0.104 285.5)
XYZxyz(45.0322, 41.4071, 86.4921)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5EE #EBEEA5
analogous
#A5C7EE #A8A5EE #CDA5EE
triadic
#A8A5EE #EEA8A5 #A5EEA8
tetradic
#A8A5EE #EEA5C7 #EBEEA5 #A5EECD
square
#A8A5EE #EEA5C7 #EBEEA5 #A5EECD
split-complementary
#A8A5EE #EECDA5 #C7EEA5
monochromatic
#443EDB #7672E4 #A8A5EE #DAD8F8 #E6E5FA

Accessibility & contrast

On white

2.26
#A8A5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A8A5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5EE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5EE#FFFFFF#000000##000000
##A8A5EE1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#97B2BF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a5ee;
/* rgb */ color: rgb(168, 165, 238);
/* oklch */ color: oklch(75.2% 0.104 285.5);
Tailwind
colors: {
  custom: {
    50: '#c3bff3',
    500: '#a8a5ee',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5ee;
$custom-light: #c3bff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5ee",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 242.466,
    "s": 68.224,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75185,
    "c": 0.10418,
    "h": 285.5
  },
  "luminance": 0.41408
}

Semantic roles & 50–950 ramp

primary
#A8A5EE
secondary
#F1F2D9
accent
#D015C8
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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