#AFABFD#AFABFD

#AFABFD is a light, moderate blue. Relative luminance 0.453; OKLCH L 77.6% C 0.116 H 285.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#AFABFD
RGBrgb(175, 171, 253)
HSLhsl(243, 95%, 83%)
HSVhsv(243, 32%, 99%)
CMYKcmyk(30.8%, 32.4%, 0%, 0.8%)
CIE-LABlab(73.11, 19.45, -40.14)
CIE-LCHlch(73.11, 44.60, 295.85°)
OKLaboklab(77.56% 0.0312 -0.1117)
OKLCHoklch(77.56% 0.116 285.6)
XYZxyz(49.9670, 45.3304, 99.0265)
Luminance0.4533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABFD #F9FDAB
analogous
#ABD0FD #AFABFD #D8ABFD
triadic
#AFABFD #FDAFAB #ABFDAF
tetradic
#AFABFD #FDABD0 #F9FDAB #ABFDD8
square
#AFABFD #FDABD0 #F9FDAB #ABFDD8
split-complementary
#AFABFD #FDD8AB #D0FDAB
monochromatic
#3D33FA #766FFC #AFABFD #E3E1FE #E3E1FE

Accessibility & contrast

On white

2.09
#AFABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#AFABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABFD
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABFD#FFFFFF#000000##000000
##AFABFD1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#9CBAC9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afabfd;
/* rgb */ color: rgb(175, 171, 253);
/* oklch */ color: oklch(77.6% 0.116 285.6);
Tailwind
colors: {
  custom: {
    50: '#c9c4fe',
    500: '#afabfd',
    950: '#000000',
  },
}
SCSS
$custom: #afabfd;
$custom-light: #c9c4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afabfd",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 242.927,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.7756,
    "c": 0.116,
    "h": 285.6
  },
  "luminance": 0.45332
}

Semantic roles & 50–950 ramp

primary
#AFABFD
secondary
#F5F7D4
accent
#E600DA
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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