#ABA5EC#ABA5EC

#ABA5EC is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.3% C 0.101 H 287.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#ABA5EC
RGBrgb(171, 165, 236)
HSLhsl(245, 65%, 79%)
HSVhsv(245, 30%, 93%)
CMYKcmyk(27.5%, 30.1%, 0%, 7.5%)
CIE-LABlab(70.61, 17.49, -34.81)
CIE-LCHlch(70.61, 38.96, 296.67°)
OKLaboklab(75.33% 0.0306 -0.0965)
OKLCHoklch(75.33% 0.101 287.6)
XYZxyz(45.3862, 41.6234, 84.9835)
Luminance0.4162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA5EC #E6ECA5
analogous
#A5C2EC #ABA5EC #CEA5EC
triadic
#ABA5EC #ECABA5 #A5ECAB
tetradic
#ABA5EC #ECA5C2 #E6ECA5 #A5ECCE
square
#ABA5EC #ECA5C2 #E6ECA5 #A5ECCE
split-complementary
#ABA5EC #ECCEA5 #C2ECA5
monochromatic
#4D40D7 #7C72E1 #ABA5EC #DAD8F7 #E7E6FA

Accessibility & contrast

On white

2.25
#ABA5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#ABA5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA5EC
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA5EC#FFFFFF#000000##000000
##ABA5EC1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEF
Deuteranopia (green-blind)
#91ABEA
Tritanopia (blue-blind)
#9CB1BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba5ec;
/* rgb */ color: rgb(171, 165, 236);
/* oklch */ color: oklch(75.3% 0.101 287.6);
Tailwind
colors: {
  custom: {
    50: '#c5bff2',
    500: '#aba5ec',
    950: '#000000',
  },
}
SCSS
$custom: #aba5ec;
$custom-light: #c5bff2;
$custom-dark: #000000;
JSON
{
  "hex": "#aba5ec",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 245.07,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75331,
    "c": 0.10123,
    "h": 287.6
  },
  "luminance": 0.41624
}

Semantic roles & 50–950 ramp

primary
#ABA5EC
secondary
#EFF1DA
accent
#CD19BE
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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