#ABA6EC#ABA6EC

#ABA6EC is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.5% C 0.100 H 287.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#ABA6EC
RGBrgb(171, 166, 236)
HSLhsl(244, 65%, 79%)
HSVhsv(244, 30%, 93%)
CMYKcmyk(27.5%, 29.7%, 0%, 7.5%)
CIE-LABlab(70.86, 16.93, -34.43)
CIE-LCHlch(70.86, 38.36, 296.18°)
OKLaboklab(75.52% 0.0292 -0.0954)
OKLCHoklch(75.52% 0.1 287)
XYZxyz(45.5673, 41.9855, 85.0439)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA6EC #E7ECA6
analogous
#A6C4EC #ABA6EC #CEA6EC
triadic
#ABA6EC #ECABA6 #A6ECAB
tetradic
#ABA6EC #ECA6C4 #E7ECA6 #A6ECCE
square
#ABA6EC #ECA6C4 #E7ECA6 #A6ECCE
split-complementary
#ABA6EC #ECCEA6 #C4ECA6
monochromatic
#4C41D6 #7B74E1 #ABA6EC #DBD8F7 #E7E6FA

Accessibility & contrast

On white

2.23
#ABA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#ABA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA6EC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA6EC#FFFFFF#000000##000000
##ABA6EC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#9CB2BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba6ec;
/* rgb */ color: rgb(171, 166, 236);
/* oklch */ color: oklch(75.5% 0.100 287.0);
Tailwind
colors: {
  custom: {
    50: '#c5c0f2',
    500: '#aba6ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba6ec;
$custom-light: #c5c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba6ec",
  "rgb": {
    "r": 171,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 244.286,
    "s": 64.815,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75524,
    "c": 0.09976,
    "h": 287
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#ABA6EC
secondary
#EFF1DA
accent
#CD19C0
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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