#ABA2EF#ABA2EF

#ABA2EF is a light, moderate blue. Relative luminance 0.407; OKLCH L 74.9% C 0.110 H 288.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#ABA2EF
RGBrgb(171, 162, 239)
HSLhsl(247, 71%, 79%)
HSVhsv(247, 32%, 94%)
CMYKcmyk(28.5%, 32.2%, 0%, 6.3%)
CIE-LABlab(69.99, 19.91, -37.42)
CIE-LCHlch(69.99, 42.39, 298.01°)
OKLaboklab(74.89% 0.0354 -0.104)
OKLCHoklch(74.89% 0.11 288.8)
XYZxyz(45.2909, 40.7297, 87.1200)
Luminance0.4073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2EF #E6EFA2
analogous
#A2BFEF #ABA2EF #D1A2EF
triadic
#ABA2EF #EFABA2 #A2EFAB
tetradic
#ABA2EF #EFA2BF #E6EFA2 #A2EFD1
square
#ABA2EF #EFA2BF #E6EFA2 #A2EFD1
split-complementary
#ABA2EF #EFD1A2 #BFEFA2
monochromatic
#4D3ADD #7C6EE6 #ABA2EF #DAD6F8 #E7E5FB

Accessibility & contrast

On white

2.30
#ABA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#ABA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2EF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2EF#FFFFFF#000000##000000
##ABA2EF1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#9BB0BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aba2ef;
/* rgb */ color: rgb(171, 162, 239);
/* oklch */ color: oklch(74.9% 0.110 288.8);
Tailwind
colors: {
  custom: {
    50: '#c5bdf4',
    500: '#aba2ef',
    950: '#000000',
  },
}
SCSS
$custom: #aba2ef;
$custom-light: #c5bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2ef",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 247.013,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74891,
    "c": 0.10983,
    "h": 288.8
  },
  "luminance": 0.40731
}

Semantic roles & 50–950 ramp

primary
#ABA2EF
secondary
#EFF2D9
accent
#D313BC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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