#ABA1EC#ABA1EC

#ABA1EC is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.6% C 0.107 H 289.6°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#ABA1EC
RGBrgb(171, 161, 236)
HSLhsl(248, 66%, 78%)
HSVhsv(248, 32%, 93%)
CMYKcmyk(27.5%, 31.8%, 0%, 7.5%)
CIE-LABlab(69.61, 19.73, -36.36)
CIE-LCHlch(69.61, 41.37, 298.49°)
OKLaboklab(74.56% 0.036 -0.1009)
OKLCHoklch(74.56% 0.107 289.6)
XYZxyz(44.6760, 40.2030, 84.7468)
Luminance0.4020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA1EC #E2ECA1
analogous
#A1BCEC #ABA1EC #D0A1EC
triadic
#ABA1EC #ECABA1 #A1ECAB
tetradic
#ABA1EC #ECA1BC #E2ECA1 #A1ECD0
square
#ABA1EC #ECA1BC #E2ECA1 #A1ECD0
split-complementary
#ABA1EC #ECD0A1 #BCECA1
monochromatic
#503BD7 #7E6EE2 #ABA1EC #D8D4F6 #E8E6FA

Accessibility & contrast

On white

2.32
#ABA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#ABA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA1EC
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA1EC#FFFFFF#000000##000000
##ABA1EC1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#9CAEBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aba1ec;
/* rgb */ color: rgb(171, 161, 236);
/* oklch */ color: oklch(74.6% 0.107 289.6);
Tailwind
colors: {
  custom: {
    50: '#c5bcf2',
    500: '#aba1ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba1ec;
$custom-light: #c5bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba1ec",
  "rgb": {
    "r": 171,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 248,
    "s": 66.372,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74564,
    "c": 0.10717,
    "h": 289.6
  },
  "luminance": 0.40204
}

Semantic roles & 50–950 ramp

primary
#ABA1EC
secondary
#EEF1DA
accent
#CE17B6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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