#ABA2FA#ABA2FA

#ABA2FA is a light, vivid blue. Relative luminance 0.414; OKLCH L 75.4% C 0.125 H 287.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#ABA2FA
RGBrgb(171, 162, 250)
HSLhsl(246, 90%, 81%)
HSVhsv(246, 35%, 98%)
CMYKcmyk(31.6%, 35.2%, 0%, 2%)
CIE-LABlab(70.45, 22.64, -42.68)
CIE-LCHlch(70.45, 48.31, 297.95°)
OKLaboklab(75.41% 0.038 -0.1191)
OKLCHoklch(75.41% 0.125 287.7)
XYZxyz(46.9657, 41.3996, 95.9404)
Luminance0.4140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABA2FA #F1FAA2
analogous
#A2C5FA #ABA2FA #D7A2FA
triadic
#ABA2FA #FAABA2 #A2FAAB
tetradic
#ABA2FA #FAA2C5 #F1FAA2 #A2FAD7
square
#ABA2FA #FAA2C5 #F1FAA2 #A2FAD7
split-complementary
#ABA2FA #FAD7A2 #C5FAA2
monochromatic
#422EF4 #7768F7 #ABA2FA #DFDCFD #E5E2FD

Accessibility & contrast

On white

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

On black

9.28
#ABA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABA2FA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABA2FA#FFFFFF#000000##000000
##ABA2FA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#98B2C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aba2fa;
/* rgb */ color: rgb(171, 162, 250);
/* oklch */ color: oklch(75.4% 0.125 287.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdfc',
    500: '#aba2fa',
    950: '#000000',
  },
}
SCSS
$custom: #aba2fa;
$custom-light: #c6bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#aba2fa",
  "rgb": {
    "r": 171,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 246.136,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.12504,
    "h": 287.7
  },
  "luminance": 0.41401
}

Semantic roles & 50–950 ramp

primary
#ABA2FA
secondary
#F2F6D5
accent
#E600CE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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