#ABAFEF#ABAFEF

#ABAFEF is a light, moderate blue. Relative luminance 0.456; OKLCH L 77.4% C 0.091 H 281.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#ABAFEF
RGBrgb(171, 175, 239)
HSLhsl(236, 68%, 80%)
HSVhsv(236, 28%, 94%)
CMYKcmyk(28.5%, 26.8%, 0%, 6.3%)
CIE-LABlab(73.25, 12.64, -32.36)
CIE-LCHlch(73.25, 34.74, 291.33°)
OKLaboklab(77.41% 0.0178 -0.0895)
OKLCHoklch(77.41% 0.091 281.3)
XYZxyz(47.7004, 45.5486, 87.9232)
Luminance0.4555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAFEF #EFEBAB
analogous
#ABD1EF #ABAFEF #C9ABEF
triadic
#ABAFEF #EFABAF #AFEFAB
tetradic
#ABAFEF #EFABD1 #EFEBAB #ABEFC9
square
#ABAFEF #EFABD1 #EFEBAB #ABEFC9
split-complementary
#ABAFEF #EFC9AB #D1EFAB
monochromatic
#444DDB #787EE5 #ABAFEF #DEE0F9 #E5E7FA

Accessibility & contrast

On white

2.08
#ABAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#ABAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAFEF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAFEF#FFFFFF#000000##000000
##ABAFEF1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F2
Deuteranopia (green-blind)
#9AB2ED
Tritanopia (blue-blind)
#9ABBC5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #abafef;
/* rgb */ color: rgb(171, 175, 239);
/* oklch */ color: oklch(77.4% 0.091 281.3);
Tailwind
colors: {
  custom: {
    50: '#c5c6f4',
    500: '#abafef',
    950: '#000000',
  },
}
SCSS
$custom: #abafef;
$custom-light: #c5c6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#abafef",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 236.471,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77411,
    "c": 0.09127,
    "h": 281.3
  },
  "luminance": 0.4555
}

Semantic roles & 50–950 ramp

primary
#ABAFEF
secondary
#F2F0D9
accent
#C516D0
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #ABAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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