#ABA2E2#ABA2E2

#ABA2E2 is a light, moderate blue. Relative luminance 0.400; OKLCH L 74.3% C 0.092 H 290.4°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#ABA2E2
RGBrgb(171, 162, 226)
HSLhsl(248, 52%, 76%)
HSVhsv(248, 28%, 89%)
CMYKcmyk(24.3%, 28.3%, 0%, 11.4%)
CIE-LABlab(69.46, 16.77, -31.12)
CIE-LCHlch(69.46, 35.35, 298.32°)
OKLaboklab(74.31% 0.032 -0.0859)
OKLCHoklch(74.31% 0.092 290.4)
XYZxyz(43.4391, 39.9889, 77.3668)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2E2 #D9E2A2
analogous
#A2B9E2 #ABA2E2 #CBA2E2
triadic
#ABA2E2 #E2ABA2 #A2E2AB
tetradic
#ABA2E2 #E2A2B9 #D9E2A2 #A2E2CB
square
#ABA2E2 #E2A2B9 #D9E2A2 #A2E2CB
split-complementary
#ABA2E2 #E2CBA2 #B9E2A2
monochromatic
#5745C5 #8173D3 #ABA2E2 #D5D1F1 #EAE8F8

Accessibility & contrast

On white

2.33
#ABA2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#ABA2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2E2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2E2#FFFFFF#000000##000000
##ABA2E21.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#92A8E0
Tritanopia (blue-blind)
#9FADB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aba2e2;
/* rgb */ color: rgb(171, 162, 226);
/* oklch */ color: oklch(74.3% 0.092 290.4);
Tailwind
colors: {
  custom: {
    50: '#c5bdeb',
    500: '#aba2e2',
    950: '#000000',
  },
}
SCSS
$custom: #aba2e2;
$custom-light: #c5bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2e2",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 248.438,
    "s": 52.459,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74314,
    "c": 0.0917,
    "h": 290.4
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#ABA2E2
secondary
#ECEFDC
accent
#C026AA
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #ABA2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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