#ABA5EB#ABA5EB

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

Color values

HEX#ABA5EB
RGBrgb(171, 165, 235)
HSLhsl(245, 64%, 78%)
HSVhsv(245, 30%, 92%)
CMYKcmyk(27.2%, 29.8%, 0%, 7.8%)
CIE-LABlab(70.57, 17.25, -34.33)
CIE-LCHlch(70.57, 38.42, 296.67°)
OKLaboklab(75.29% 0.0303 -0.0951)
OKLCHoklch(75.29% 0.1 287.7)
XYZxyz(45.2413, 41.5654, 84.2205)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA5EB #E5EBA5
analogous
#A5C2EB #ABA5EB #CEA5EB
triadic
#ABA5EB #EBABA5 #A5EBAB
tetradic
#ABA5EB #EBA5C2 #E5EBA5 #A5EBCE
square
#ABA5EB #EBA5C2 #E5EBA5 #A5EBCE
split-complementary
#ABA5EB #EBCEA5 #C2EBA5
monochromatic
#4E41D5 #7C73E0 #ABA5EB #DAD7F6 #E8E6F9

Accessibility & contrast

On white

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

On black

9.31
#ABA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA5EB
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA5EB#FFFFFF#000000##000000
##ABA5EB1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aba5eb;
/* rgb */ color: rgb(171, 165, 235);
/* oklch */ color: oklch(75.3% 0.100 287.7);
Tailwind
colors: {
  custom: {
    50: '#c5bff1',
    500: '#aba5eb',
    950: '#000000',
  },
}
SCSS
$custom: #aba5eb;
$custom-light: #c5bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba5eb",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 245.143,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75287,
    "c": 0.09982,
    "h": 287.7
  },
  "luminance": 0.41566
}

Semantic roles & 50–950 ramp

primary
#ABA5EB
secondary
#EFF1DA
accent
#CB1ABC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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