#ABABFF#ABABFF

#ABABFF is a light, moderate blue. Relative luminance 0.450; OKLCH L 77.3% C 0.119 H 283.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#ABABFF
RGBrgb(171, 171, 255)
HSLhsl(240, 100%, 84%)
HSVhsv(240, 33%, 100%)
CMYKcmyk(32.9%, 32.9%, 0%, 0%)
CIE-LABlab(72.89, 18.85, -41.58)
CIE-LCHlch(72.89, 45.65, 294.39°)
OKLaboklab(77.35% 0.0273 -0.1159)
OKLCHoklch(77.35% 0.119 283.3)
XYZxyz(49.4026, 45.0023, 100.6717)
Luminance0.4500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABFF #FFFFAB
analogous
#ABD5FF #ABABFF #D5ABFF
triadic
#ABABFF #FFABAB #ABFFAB
tetradic
#ABABFF #FFABD5 #FFFFAB #ABFFD5
square
#ABABFF #FFABD5 #FFFFAB #ABFFD5
split-complementary
#ABABFF #FFD5AB #D5FFAB
monochromatic
#3131FF #6E6EFF #ABABFF #E0E0FF #E0E0FF

Accessibility & contrast

On white

2.10
#ABABFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#ABABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABFF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABFF#FFFFFF#000000##000000
##ABABFF1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#8EB0FD
Tritanopia (blue-blind)
#95BBCA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ababff;
/* rgb */ color: rgb(171, 171, 255);
/* oklch */ color: oklch(77.3% 0.119 283.3);
Tailwind
colors: {
  custom: {
    50: '#c6c4ff',
    500: '#ababff',
    950: '#000000',
  },
}
SCSS
$custom: #ababff;
$custom-light: #c6c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ababff",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.77348,
    "c": 0.11913,
    "h": 283.3
  },
  "luminance": 0.45004
}

Semantic roles & 50–950 ramp

primary
#ABABFF
secondary
#F7F7D4
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #ABABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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