#ABABF8#ABABF8

#ABABF8 is a light, moderate blue. Relative luminance 0.446; OKLCH L 77.0% C 0.109 H 283.5°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#ABABF8
RGBrgb(171, 171, 248)
HSLhsl(240, 85%, 82%)
HSVhsv(240, 31%, 97%)
CMYKcmyk(31%, 31%, 0%, 2.7%)
CIE-LABlab(72.60, 17.09, -38.25)
CIE-LCHlch(72.60, 41.89, 294.08°)
OKLaboklab(77.03% 0.0256 -0.1064)
OKLCHoklch(77.03% 0.109 283.5)
XYZxyz(48.2962, 44.5597, 94.8450)
Luminance0.4456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABABF8 #F8F8AB
analogous
#ABD2F8 #ABABF8 #D2ABF8
triadic
#ABABF8 #F8ABAB #ABF8AB
tetradic
#ABABF8 #F8ABD2 #F8F8AB #ABF8D2
square
#ABABF8 #F8ABD2 #F8F8AB #ABF8D2
split-complementary
#ABABF8 #F8D2AB #D2F8AB
monochromatic
#3A3AEF #7373F3 #ABABF8 #E3E3FD #E3E3FD

Accessibility & contrast

On white

2.12
#ABABF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#ABABF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABABF8
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABABF8#FFFFFF#000000##000000
##ABABF81.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B5FB
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#98B9C7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ababf8;
/* rgb */ color: rgb(171, 171, 248);
/* oklch */ color: oklch(77.0% 0.109 283.5);
Tailwind
colors: {
  custom: {
    50: '#c6c4fb',
    500: '#ababf8',
    950: '#000000',
  },
}
SCSS
$custom: #ababf8;
$custom-light: #c6c4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ababf8",
  "rgb": {
    "r": 171,
    "g": 171,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 84.615,
    "l": 82.157
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.1094,
    "h": 283.5
  },
  "luminance": 0.44561
}

Semantic roles & 50–950 ramp

primary
#ABABF8
secondary
#F5F5D6
accent
#E104E1
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #ABABF8

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

Preview Lab → · Contrast checker → · Palette generator →

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