#ABA5EF#ABA5EF

#ABA5EF is a light, moderate blue. Relative luminance 0.418; OKLCH L 75.5% C 0.105 H 287.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#ABA5EF
RGBrgb(171, 165, 239)
HSLhsl(245, 70%, 79%)
HSVhsv(245, 31%, 94%)
CMYKcmyk(28.5%, 31%, 0%, 6.3%)
CIE-LABlab(70.73, 18.22, -36.26)
CIE-LCHlch(70.73, 40.58, 296.68°)
OKLaboklab(75.47% 0.0314 -0.1006)
OKLCHoklch(75.47% 0.105 287.3)
XYZxyz(45.8257, 41.7992, 87.2983)
Luminance0.4180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA5EF #E9EFA5
analogous
#A5C4EF #ABA5EF #D0A5EF
triadic
#ABA5EF #EFABA5 #A5EFAB
tetradic
#ABA5EF #EFA5C4 #E9EFA5 #A5EFD0
square
#ABA5EF #EFA5C4 #E9EFA5 #A5EFD0
split-complementary
#ABA5EF #EFD0A5 #C4EFA5
monochromatic
#4A3DDD #7B71E6 #ABA5EF #DBD9F8 #E7E5FA

Accessibility & contrast

On white

2.24
#ABA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#ABA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA5EF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA5EF#FFFFFF#000000##000000
##ABA5EF1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AFF2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#9BB2C0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba5ef;
/* rgb */ color: rgb(171, 165, 239);
/* oklch */ color: oklch(75.5% 0.105 287.3);
Tailwind
colors: {
  custom: {
    50: '#c5bff4',
    500: '#aba5ef',
    950: '#000000',
  },
}
SCSS
$custom: #aba5ef;
$custom-light: #c5bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#aba5ef",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 244.865,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75465,
    "c": 0.10542,
    "h": 287.3
  },
  "luminance": 0.418
}

Semantic roles & 50–950 ramp

primary
#ABA5EF
secondary
#F0F2D9
accent
#D214C2
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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