#ABA2FE#ABA2FE

#ABA2FE is a light, vivid blue. Relative luminance 0.417; OKLCH L 75.6% C 0.131 H 287.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#ABA2FE
RGBrgb(171, 162, 254)
HSLhsl(246, 98%, 82%)
HSVhsv(246, 36%, 100%)
CMYKcmyk(32.7%, 36.2%, 0%, 0.4%)
CIE-LABlab(70.63, 23.65, -44.57)
CIE-LCHlch(70.63, 50.46, 297.95°)
OKLaboklab(75.6% 0.0389 -0.1246)
OKLCHoklch(75.6% 0.131 287.3)
XYZxyz(47.5995, 41.6531, 99.2787)
Luminance0.4165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2FE #F5FEA2
analogous
#A2C7FE #ABA2FE #D9A2FE
triadic
#ABA2FE #FEABA2 #A2FEAB
tetradic
#ABA2FE #FEA2C7 #F5FEA2 #A2FED9
square
#ABA2FE #FEA2C7 #F5FEA2 #A2FED9
split-complementary
#ABA2FE #FED9A2 #C7FEA2
monochromatic
#3E29FD #7465FD #ABA2FE #E2DFFF #E4E1FF

Accessibility & contrast

On white

2.25
#ABA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#ABA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2FE
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2FE#FFFFFF#000000##000000
##ABA2FE1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#96B3C4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba2fe;
/* rgb */ color: rgb(171, 162, 254);
/* oklch */ color: oklch(75.6% 0.131 287.3);
Tailwind
colors: {
  custom: {
    50: '#c6bdff',
    500: '#aba2fe',
    950: '#000000',
  },
}
SCSS
$custom: #aba2fe;
$custom-light: #c6bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2fe",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 245.87,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.75597,
    "c": 0.13053,
    "h": 287.3
  },
  "luminance": 0.41654
}

Semantic roles & 50–950 ramp

primary
#ABA2FE
secondary
#F4F7D4
accent
#E600CF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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