#ABA8EC#ABA8EC

#ABA8EC is a light, moderate blue. Relative luminance 0.427; OKLCH L 75.9% C 0.097 H 285.9°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#ABA8EC
RGBrgb(171, 168, 236)
HSLhsl(243, 64%, 79%)
HSVhsv(243, 29%, 93%)
CMYKcmyk(27.5%, 28.8%, 0%, 7.5%)
CIE-LABlab(71.36, 15.81, -33.65)
CIE-LCHlch(71.36, 37.18, 295.17°)
OKLaboklab(75.91% 0.0265 -0.0932)
OKLCHoklch(75.91% 0.097 285.9)
XYZxyz(45.9337, 42.7183, 85.1660)
Luminance0.4272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA8EC #E9ECA8
analogous
#A8C7EC #ABA8EC #CDA8EC
triadic
#ABA8EC #ECABA8 #A8ECAB
tetradic
#ABA8EC #ECA8C7 #E9ECA8 #A8ECCD
square
#ABA8EC #ECA8C7 #E9ECA8 #A8ECCD
split-complementary
#ABA8EC #ECCDA8 #C7ECA8
monochromatic
#4A44D6 #7B76E1 #ABA8EC #DBDAF7 #E7E6FA

Accessibility & contrast

On white

2.20
#ABA8EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#ABA8EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA8EC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA8EC#FFFFFF#000000##000000
##ABA8EC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B1EF
Deuteranopia (green-blind)
#94ADEA
Tritanopia (blue-blind)
#9CB4C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aba8ec;
/* rgb */ color: rgb(171, 168, 236);
/* oklch */ color: oklch(75.9% 0.097 285.9);
Tailwind
colors: {
  custom: {
    50: '#c5c1f2',
    500: '#aba8ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba8ec;
$custom-light: #c5c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba8ec",
  "rgb": {
    "r": 171,
    "g": 168,
    "b": 236
  },
  "hsl": {
    "h": 242.647,
    "s": 64.151,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75912,
    "c": 0.09686,
    "h": 285.9
  },
  "luminance": 0.42719
}

Semantic roles & 50–950 ramp

primary
#ABA8EC
secondary
#F0F1DA
accent
#CC1AC4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA8EC

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

Preview Lab → · Contrast checker → · Palette generator →

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