#ABA2ED#ABA2ED

#ABA2ED is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.8% C 0.107 H 289.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#ABA2ED
RGBrgb(171, 162, 237)
HSLhsl(247, 68%, 78%)
HSVhsv(247, 32%, 93%)
CMYKcmyk(27.8%, 31.6%, 0%, 7.1%)
CIE-LABlab(69.90, 19.42, -36.46)
CIE-LCHlch(69.90, 41.31, 298.04°)
OKLaboklab(74.8% 0.0349 -0.1012)
OKLCHoklch(74.8% 0.107 289)
XYZxyz(44.9971, 40.6121, 85.5726)
Luminance0.4061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2ED #E4EDA2
analogous
#A2BEED #ABA2ED #D0A2ED
triadic
#ABA2ED #EDABA2 #A2EDAB
tetradic
#ABA2ED #EDA2BE #E4EDA2 #A2EDD0
square
#ABA2ED #EDA2BE #E4EDA2 #A2EDD0
split-complementary
#ABA2ED #EDD0A2 #BEEDA2
monochromatic
#4E3BD9 #7D6FE3 #ABA2ED #D9D5F7 #E8E5FA

Accessibility & contrast

On white

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

On black

9.12
#ABA2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2ED
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2ED#FFFFFF#000000##000000
##ABA2ED1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACF0
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#9CAFBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aba2ed;
/* rgb */ color: rgb(171, 162, 237);
/* oklch */ color: oklch(74.8% 0.107 289.0);
Tailwind
colors: {
  custom: {
    50: '#c5bdf3',
    500: '#aba2ed',
    950: '#000000',
  },
}
SCSS
$custom: #aba2ed;
$custom-light: #c5bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2ed",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 237
  },
  "hsl": {
    "h": 247.2,
    "s": 67.568,
    "l": 78.235
  },
  "oklch": {
    "l": 0.748,
    "c": 0.10706,
    "h": 289
  },
  "luminance": 0.40613
}

Semantic roles & 50–950 ramp

primary
#ABA2ED
secondary
#EFF2D9
accent
#CF16B9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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