#ABA7E2#ABA7E2

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

Color values

HEX#ABA7E2
RGBrgb(171, 167, 226)
HSLhsl(244, 50%, 77%)
HSVhsv(244, 26%, 89%)
CMYKcmyk(24.3%, 26.1%, 0%, 11.4%)
CIE-LABlab(70.72, 13.97, -29.18)
CIE-LCHlch(70.72, 32.35, 295.59°)
OKLaboklab(75.29% 0.025 -0.0804)
OKLCHoklch(75.29% 0.084 287.3)
XYZxyz(44.3374, 41.7856, 77.6662)
Luminance0.4179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA7E2 #DEE2A7
analogous
#A7C1E2 #ABA7E2 #C9A7E2
triadic
#ABA7E2 #E2ABA7 #A7E2AB
tetradic
#ABA7E2 #E2A7C1 #DEE2A7 #A7E2C9
square
#ABA7E2 #E2A7C1 #DEE2A7 #A7E2C9
split-complementary
#ABA7E2 #E2C9A7 #C1E2A7
monochromatic
#534BC4 #7F79D3 #ABA7E2 #D7D5F1 #E9E8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ABA7E2#FFFFFF#000000##000000
##ABA7E21.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)
#98AEE5
Deuteranopia (green-blind)
#97ACE0
Tritanopia (blue-blind)
#9FB1BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba7e2;
/* rgb */ color: rgb(171, 167, 226);
/* oklch */ color: oklch(75.3% 0.084 287.3);
Tailwind
colors: {
  custom: {
    50: '#c5c1eb',
    500: '#aba7e2',
    950: '#000000',
  },
}
SCSS
$custom: #aba7e2;
$custom-light: #c5c1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aba7e2",
  "rgb": {
    "r": 171,
    "g": 167,
    "b": 226
  },
  "hsl": {
    "h": 244.068,
    "s": 50.427,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75289,
    "c": 0.08423,
    "h": 287.3
  },
  "luminance": 0.41786
}

Semantic roles & 50–950 ramp

primary
#ABA7E2
secondary
#EDEFDC
accent
#BE28B4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #ABA7E2

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

Preview Lab → · Contrast checker → · Palette generator →

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