#ABA2FB#ABA2FB

#ABA2FB is a light, vivid blue. Relative luminance 0.415; OKLCH L 75.5% C 0.126 H 287.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#ABA2FB
RGBrgb(171, 162, 251)
HSLhsl(246, 92%, 81%)
HSVhsv(246, 35%, 98%)
CMYKcmyk(31.9%, 35.5%, 0%, 1.6%)
CIE-LABlab(70.50, 22.89, -43.15)
CIE-LCHlch(70.50, 48.85, 297.95°)
OKLaboklab(75.45% 0.0382 -0.1205)
OKLCHoklch(75.45% 0.126 287.6)
XYZxyz(47.1229, 41.4625, 96.7684)
Luminance0.4146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2FB #F2FBA2
analogous
#A2C5FB #ABA2FB #D7A2FB
triadic
#ABA2FB #FBABA2 #A2FBAB
tetradic
#ABA2FB #FBA2C5 #F2FBA2 #A2FBD7
square
#ABA2FB #FBA2C5 #F2FBA2 #A2FBD7
split-complementary
#ABA2FB #FBD7A2 #C5FBA2
monochromatic
#412DF6 #7667F8 #ABA2FB #E0DDFE #E5E2FE

Accessibility & contrast

On white

2.26
#ABA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#ABA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2FB
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2FB#FFFFFF#000000##000000
##ABA2FB1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#87AAF9
Tritanopia (blue-blind)
#97B2C3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba2fb;
/* rgb */ color: rgb(171, 162, 251);
/* oklch */ color: oklch(75.5% 0.126 287.6);
Tailwind
colors: {
  custom: {
    50: '#c6bdfd',
    500: '#aba2fb',
    950: '#000000',
  },
}
SCSS
$custom: #aba2fb;
$custom-light: #c6bdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2fb",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 246.067,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75453,
    "c": 0.12642,
    "h": 287.6
  },
  "luminance": 0.41464
}

Semantic roles & 50–950 ramp

primary
#ABA2FB
secondary
#F3F6D5
accent
#E600CE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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