#ABA2FD#ABA2FD

#ABA2FD is a light, vivid blue. Relative luminance 0.416; OKLCH L 75.5% C 0.129 H 287.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#ABA2FD
RGBrgb(171, 162, 253)
HSLhsl(246, 96%, 81%)
HSVhsv(246, 36%, 99%)
CMYKcmyk(32.4%, 36%, 0%, 0.8%)
CIE-LABlab(70.59, 23.40, -44.10)
CIE-LCHlch(70.59, 49.92, 297.95°)
OKLaboklab(75.55% 0.0386 -0.1232)
OKLCHoklch(75.55% 0.129 287.4)
XYZxyz(47.4398, 41.5892, 98.4375)
Luminance0.4159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2FD #F4FDA2
analogous
#A2C7FD #ABA2FD #D9A2FD
triadic
#ABA2FD #FDABA2 #A2FDAB
tetradic
#ABA2FD #FDA2C7 #F4FDA2 #A2FDD9
square
#ABA2FD #FDA2C7 #F4FDA2 #A2FDD9
split-complementary
#ABA2FD #FDD9A2 #C7FDA2
monochromatic
#3F2AFA #7566FC #ABA2FD #E1DEFE #E4E1FE

Accessibility & contrast

On white

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

On black

9.32
#ABA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2FD
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2FD#FFFFFF#000000##000000
##ABA2FD1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#86AAFB
Tritanopia (blue-blind)
#97B3C4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aba2fd;
/* rgb */ color: rgb(171, 162, 253);
/* oklch */ color: oklch(75.5% 0.129 287.4);
Tailwind
colors: {
  custom: {
    50: '#c6bdfe',
    500: '#aba2fd',
    950: '#000000',
  },
}
SCSS
$custom: #aba2fd;
$custom-light: #c6bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2fd",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 245.934,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75549,
    "c": 0.12916,
    "h": 287.4
  },
  "luminance": 0.4159
}

Semantic roles & 50–950 ramp

primary
#ABA2FD
secondary
#F3F7D4
accent
#E600CF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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