#ABAFFF#ABAFFF

#ABAFFF is a light, moderate blue. Relative luminance 0.465; OKLCH L 78.1% C 0.114 H 281.2°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#ABAFFF
RGBrgb(171, 175, 255)
HSLhsl(237, 100%, 84%)
HSVhsv(237, 33%, 100%)
CMYKcmyk(32.9%, 31.4%, 0%, 0%)
CIE-LABlab(73.89, 16.62, -40.02)
CIE-LCHlch(73.89, 43.33, 292.55°)
OKLaboklab(78.12% 0.0221 -0.1115)
OKLCHoklch(78.12% 0.114 281.2)
XYZxyz(50.1696, 46.5363, 100.9274)
Luminance0.4654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAFFF #FFFBAB
analogous
#ABD9FF #ABAFFF #D1ABFF
triadic
#ABAFFF #FFABAF #AFFFAB
tetradic
#ABAFFF #FFABD9 #FFFBAB #ABFFD1
square
#ABAFFF #FFABD9 #FFFBAB #ABFFD1
split-complementary
#ABAFFF #FFD1AB #D9FFAB
monochromatic
#313AFF #6E75FF #ABAFFF #E0E2FF #E0E2FF

Accessibility & contrast

On white

2.04
#ABAFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#ABAFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAFFF
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAFFF#FFFFFF#000000##000000
##ABAFFF1.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#93B3FD
Tritanopia (blue-blind)
#95BECC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #abafff;
/* rgb */ color: rgb(171, 175, 255);
/* oklch */ color: oklch(78.1% 0.114 281.2);
Tailwind
colors: {
  custom: {
    50: '#c6c6ff',
    500: '#abafff',
    950: '#000000',
  },
}
SCSS
$custom: #abafff;
$custom-light: #c6c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#abafff",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 237.143,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78117,
    "c": 0.11364,
    "h": 281.2
  },
  "luminance": 0.46538
}

Semantic roles & 50–950 ramp

primary
#ABAFFF
secondary
#F7F6D4
accent
#DB00E6
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #ABAFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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