#ABA2EB#ABA2EB

#ABA2EB is a light, moderate blue. Relative luminance 0.405; OKLCH L 74.7% C 0.104 H 289.3°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#ABA2EB
RGBrgb(171, 162, 235)
HSLhsl(247, 65%, 78%)
HSVhsv(247, 31%, 92%)
CMYKcmyk(27.2%, 31.1%, 0%, 7.8%)
CIE-LABlab(69.82, 18.93, -35.49)
CIE-LCHlch(69.82, 40.23, 298.07°)
OKLaboklab(74.71% 0.0344 -0.0984)
OKLCHoklch(74.71% 0.104 289.3)
XYZxyz(44.7066, 40.4959, 84.0422)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2EB #E2EBA2
analogous
#A2BDEB #ABA2EB #CFA2EB
triadic
#ABA2EB #EBABA2 #A2EBAB
tetradic
#ABA2EB #EBA2BD #E2EBA2 #A2EBCF
square
#ABA2EB #EBA2BD #E2EBA2 #A2EBCF
split-complementary
#ABA2EB #EBCFA2 #BDEBA2
monochromatic
#503DD5 #7E70E0 #ABA2EB #D8D4F6 #E8E6FA

Accessibility & contrast

On white

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

On black

9.10
#ABA2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2EB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2EB#FFFFFF#000000##000000
##ABA2EB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#9DAFBC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aba2eb;
/* rgb */ color: rgb(171, 162, 235);
/* oklch */ color: oklch(74.7% 0.104 289.3);
Tailwind
colors: {
  custom: {
    50: '#c5bdf1',
    500: '#aba2eb',
    950: '#000000',
  },
}
SCSS
$custom: #aba2eb;
$custom-light: #c5bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2eb",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 247.397,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.7471,
    "c": 0.10428,
    "h": 289.3
  },
  "luminance": 0.40497
}

Semantic roles & 50–950 ramp

primary
#ABA2EB
secondary
#EEF1DA
accent
#CC19B6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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