#ABA2EC#ABA2EC

#ABA2EC is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.8% C 0.106 H 289.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#ABA2EC
RGBrgb(171, 162, 236)
HSLhsl(247, 66%, 78%)
HSVhsv(247, 31%, 93%)
CMYKcmyk(27.5%, 31.4%, 0%, 7.5%)
CIE-LABlab(69.86, 19.17, -35.98)
CIE-LCHlch(69.86, 40.77, 298.05°)
OKLaboklab(74.76% 0.0347 -0.0998)
OKLCHoklch(74.76% 0.106 289.1)
XYZxyz(44.8514, 40.5539, 84.8053)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2EC #E3ECA2
analogous
#A2BEEC #ABA2EC #D0A2EC
triadic
#ABA2EC #ECABA2 #A2ECAB
tetradic
#ABA2EC #ECA2BE #E3ECA2 #A2ECD0
square
#ABA2EC #ECA2BE #E3ECA2 #A2ECD0
split-complementary
#ABA2EC #ECD0A2 #BEECA2
monochromatic
#4F3CD7 #7D6FE2 #ABA2EC #D9D5F6 #E8E6FA

Accessibility & contrast

On white

2.30
#ABA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#ABA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2EC
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2EC#FFFFFF#000000##000000
##ABA2EC1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#9CAFBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aba2ec;
/* rgb */ color: rgb(171, 162, 236);
/* oklch */ color: oklch(74.8% 0.106 289.1);
Tailwind
colors: {
  custom: {
    50: '#c5bdf2',
    500: '#aba2ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba2ec;
$custom-light: #c5bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2ec",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 247.297,
    "s": 66.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74755,
    "c": 0.10567,
    "h": 289.1
  },
  "luminance": 0.40555
}

Semantic roles & 50–950 ramp

primary
#ABA2EC
secondary
#EEF1DA
accent
#CE18B8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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