#ABA5FE#ABA5FE

#ABA5FE is a light, vivid blue. Relative luminance 0.427; OKLCH L 76.2% C 0.126 H 286.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#ABA5FE
RGBrgb(171, 165, 254)
HSLhsl(244, 98%, 82%)
HSVhsv(244, 35%, 100%)
CMYKcmyk(32.7%, 35%, 0%, 0.4%)
CIE-LABlab(71.37, 21.96, -43.42)
CIE-LCHlch(71.37, 48.66, 296.83°)
OKLaboklab(76.16% 0.0349 -0.1213)
OKLCHoklch(76.16% 0.126 286.1)
XYZxyz(48.1343, 42.7226, 99.4569)
Luminance0.4272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA5FE #F8FEA5
analogous
#A5CCFE #ABA5FE #D8A5FE
triadic
#ABA5FE #FEABA5 #A5FEAB
tetradic
#ABA5FE #FEA5CC #F8FEA5 #A5FED8
square
#ABA5FE #FEA5CC #F8FEA5 #A5FED8
split-complementary
#ABA5FE #FED8A5 #CCFEA5
monochromatic
#3A2CFD #7368FD #ABA5FE #E3E1FF #E3E1FF

Accessibility & contrast

On white

2.20
#ABA5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#ABA5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA5FE
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA5FE#FFFFFF#000000##000000
##ABA5FE1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#96B5C6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aba5fe;
/* rgb */ color: rgb(171, 165, 254);
/* oklch */ color: oklch(76.2% 0.126 286.1);
Tailwind
colors: {
  custom: {
    50: '#c6bfff',
    500: '#aba5fe',
    950: '#000000',
  },
}
SCSS
$custom: #aba5fe;
$custom-light: #c6bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#aba5fe",
  "rgb": {
    "r": 171,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 244.045,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.12621,
    "h": 286.1
  },
  "luminance": 0.42724
}

Semantic roles & 50–950 ramp

primary
#ABA5FE
secondary
#F5F7D4
accent
#E600D6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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