#A8A8EE#A8A8EE

#A8A8EE is a light, moderate blue. Relative luminance 0.425; OKLCH L 75.8% C 0.100 H 283.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#A8A8EE
RGBrgb(168, 168, 238)
HSLhsl(240, 67%, 80%)
HSVhsv(240, 29%, 93%)
CMYKcmyk(29.4%, 29.4%, 0%, 6.7%)
CIE-LABlab(71.22, 15.43, -34.98)
CIE-LCHlch(71.22, 38.24, 293.81°)
OKLaboklab(75.77% 0.0238 -0.097)
OKLCHoklch(75.77% 0.1 283.8)
XYZxyz(45.5796, 42.5020, 86.6746)
Luminance0.4250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8EE #EEEEA8
analogous
#A8CBEE #A8A8EE #CBA8EE
triadic
#A8A8EE #EEA8A8 #A8EEA8
tetradic
#A8A8EE #EEA8CB #EEEEA8 #A8EECB
square
#A8A8EE #EEA8CB #EEEEA8 #A8EECB
split-complementary
#A8A8EE #EECBA8 #CBEEA8
monochromatic
#4242DA #7575E4 #A8A8EE #DBDBF8 #E5E5FA

Accessibility & contrast

On white

2.21
#A8A8EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#A8A8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8EE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8EE#FFFFFF#000000##000000
##A8A8EE1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F1
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#97B5C1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a8ee;
/* rgb */ color: rgb(168, 168, 238);
/* oklch */ color: oklch(75.8% 0.100 283.8);
Tailwind
colors: {
  custom: {
    50: '#c3c1f3',
    500: '#a8a8ee',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8ee;
$custom-light: #c3c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8ee",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 67.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.09991,
    "h": 283.8
  },
  "luminance": 0.42503
}

Semantic roles & 50–950 ramp

primary
#A8A8EE
secondary
#F2F2D9
accent
#CF16CF
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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