#ABA2F2#ABA2F2

#ABA2F2 is a light, moderate blue. Relative luminance 0.409; OKLCH L 75.0% C 0.114 H 288.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#ABA2F2
RGBrgb(171, 162, 242)
HSLhsl(247, 75%, 79%)
HSVhsv(247, 33%, 95%)
CMYKcmyk(29.3%, 33.1%, 0%, 5.1%)
CIE-LABlab(70.11, 20.64, -38.86)
CIE-LCHlch(70.11, 44.01, 297.98°)
OKLaboklab(75.03% 0.0362 -0.1081)
OKLCHoklch(75.03% 0.114 288.5)
XYZxyz(45.7378, 40.9084, 89.4735)
Luminance0.4091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2F2 #E9F2A2
analogous
#A2C1F2 #ABA2F2 #D3A2F2
triadic
#ABA2F2 #F2ABA2 #A2F2AB
tetradic
#ABA2F2 #F2A2C1 #E9F2A2 #A2F2D3
square
#ABA2F2 #F2A2C1 #E9F2A2 #A2F2D3
split-complementary
#ABA2F2 #F2D3A2 #C1F2A2
monochromatic
#4A37E3 #7B6CEA #ABA2F2 #DBD8FA #E7E4FB

Accessibility & contrast

On white

2.29
#ABA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#ABA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2F2
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2F2#FFFFFF#000000##000000
##ABA2F21.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#8BA9F0
Tritanopia (blue-blind)
#9AB0BF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #aba2f2;
/* rgb */ color: rgb(171, 162, 242);
/* oklch */ color: oklch(75.0% 0.114 288.5);
Tailwind
colors: {
  custom: {
    50: '#c6bdf6',
    500: '#aba2f2',
    950: '#000000',
  },
}
SCSS
$custom: #aba2f2;
$custom-light: #c6bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2f2",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 246.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75029,
    "c": 0.114,
    "h": 288.5
  },
  "luminance": 0.40909
}

Semantic roles & 50–950 ramp

primary
#ABA2F2
secondary
#F0F3D8
accent
#D80EC1
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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