#ABABFA#ABABFA

#ABABFA is a light, moderate blue. Relative luminance 0.447; OKLCH L 77.1% C 0.112 H 283.5°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#ABABFA
RGBrgb(171, 171, 250)
HSLhsl(240, 89%, 83%)
HSVhsv(240, 32%, 98%)
CMYKcmyk(31.6%, 31.6%, 0%, 2%)
CIE-LABlab(72.68, 17.59, -39.20)
CIE-LCHlch(72.68, 42.97, 294.17°)
OKLaboklab(77.12% 0.0261 -0.1091)
OKLCHoklch(77.12% 0.112 283.5)
XYZxyz(48.6082, 44.6845, 96.4879)
Luminance0.4469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABFA #FAFAAB
analogous
#ABD2FA #ABABFA #D2ABFA
triadic
#ABABFA #FAABAB #ABFAAB
tetradic
#ABABFA #FAABD2 #FAFAAB #ABFAD2
square
#ABABFA #FAABD2 #FAFAAB #ABFAD2
split-complementary
#ABABFA #FAD2AB #D2FAAB
monochromatic
#3737F3 #7171F7 #ABABFA #E2E2FD #E2E2FD

Accessibility & contrast

On white

2.11
#ABABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#ABABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABFA
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABFA#FFFFFF#000000##000000
##ABABFA1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#97BAC7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ababfa;
/* rgb */ color: rgb(171, 171, 250);
/* oklch */ color: oklch(77.1% 0.112 283.5);
Tailwind
colors: {
  custom: {
    50: '#c6c4fc',
    500: '#ababfa',
    950: '#000000',
  },
}
SCSS
$custom: #ababfa;
$custom-light: #c6c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ababfa",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77117,
    "c": 0.11218,
    "h": 283.5
  },
  "luminance": 0.44686
}

Semantic roles & 50–950 ramp

primary
#ABABFA
secondary
#F5F5D6
accent
#E500E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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