#ABA2EA#ABA2EA

#ABA2EA is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.103 H 289.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#ABA2EA
RGBrgb(171, 162, 234)
HSLhsl(248, 63%, 78%)
HSVhsv(248, 31%, 92%)
CMYKcmyk(26.9%, 30.8%, 0%, 8.2%)
CIE-LABlab(69.78, 18.69, -35.01)
CIE-LCHlch(69.78, 39.68, 298.09°)
OKLaboklab(74.67% 0.0342 -0.097)
OKLCHoklch(74.67% 0.103 289.4)
XYZxyz(44.5625, 40.4383, 83.2835)
Luminance0.4044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2EA #E1EAA2
analogous
#A2BDEA #ABA2EA #CFA2EA
triadic
#ABA2EA #EAABA2 #A2EAAB
tetradic
#ABA2EA #EAA2BD #E1EAA2 #A2EACF
square
#ABA2EA #EAA2BD #E1EAA2 #A2EACF
split-complementary
#ABA2EA #EACFA2 #BDEAA2
monochromatic
#513ED3 #7E70DF #ABA2EA #D8D4F5 #E8E6F9

Accessibility & contrast

On white

2.31
#ABA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#ABA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2EA
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2EA#FFFFFF#000000##000000
##ABA2EA1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACED
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#9DAEBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aba2ea;
/* rgb */ color: rgb(171, 162, 234);
/* oklch */ color: oklch(74.7% 0.103 289.4);
Tailwind
colors: {
  custom: {
    50: '#c5bdf1',
    500: '#aba2ea',
    950: '#000000',
  },
}
SCSS
$custom: #aba2ea;
$custom-light: #c5bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2ea",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 247.5,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74665,
    "c": 0.10288,
    "h": 289.4
  },
  "luminance": 0.40439
}

Semantic roles & 50–950 ramp

primary
#ABA2EA
secondary
#EEF1DA
accent
#CB1BB5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #ABA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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