#A8B1EC#A8B1EC

#A8B1EC is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.5% C 0.085 H 277.5°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#A8B1EC
RGBrgb(168, 177, 236)
HSLhsl(232, 64%, 79%)
HSVhsv(232, 29%, 93%)
CMYKcmyk(28.8%, 25%, 0%, 7.5%)
CIE-LABlab(73.43, 9.93, -30.47)
CIE-LCHlch(73.43, 32.05, 288.04°)
OKLaboklab(77.46% 0.0111 -0.0842)
OKLCHoklch(77.46% 0.085 277.5)
XYZxyz(47.0068, 45.8239, 85.7088)
Luminance0.4582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B1EC #ECE3A8
analogous
#A8D3EC #A8B1EC #C1A8EC
triadic
#A8B1EC #ECA8B1 #B1ECA8
tetradic
#A8B1EC #ECA8D3 #ECE3A8 #A8ECC1
square
#A8B1EC #ECA8D3 #ECE3A8 #A8ECC1
split-complementary
#A8B1EC #ECC1A8 #D3ECA8
monochromatic
#4457D6 #7684E1 #A8B1EC #DADEF7 #E6E8FA

Accessibility & contrast

On white

2.07
#A8B1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#A8B1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B1EC
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B1EC#FFFFFF#000000##000000
##A8B1EC1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B7EF
Deuteranopia (green-blind)
#9CB2EB
Tritanopia (blue-blind)
#97BCC5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #a8b1ec;
/* rgb */ color: rgb(168, 177, 236);
/* oklch */ color: oklch(77.5% 0.085 277.5);
Tailwind
colors: {
  custom: {
    50: '#c3c8f2',
    500: '#a8b1ec',
    950: '#000000',
  },
}
SCSS
$custom: #a8b1ec;
$custom-light: #c3c8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b1ec",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 236
  },
  "hsl": {
    "h": 232.059,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77458,
    "c": 0.08492,
    "h": 277.5
  },
  "luminance": 0.45825
}

Semantic roles & 50–950 ramp

primary
#A8B1EC
secondary
#F1EEDA
accent
#B41ACC
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #A8B1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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