#AFABFB#AFABFB

#AFABFB is a light, moderate blue. Relative luminance 0.452; OKLCH L 77.5% C 0.113 H 285.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#AFABFB
RGBrgb(175, 171, 251)
HSLhsl(243, 91%, 83%)
HSVhsv(243, 32%, 98%)
CMYKcmyk(30.3%, 31.9%, 0%, 1.6%)
CIE-LABlab(73.03, 18.95, -39.19)
CIE-LCHlch(73.03, 43.53, 295.81°)
OKLaboklab(77.47% 0.0307 -0.109)
OKLCHoklch(77.47% 0.113 285.7)
XYZxyz(49.6501, 45.2036, 97.3573)
Luminance0.4521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABFB #F7FBAB
analogous
#ABCFFB #AFABFB #D7ABFB
triadic
#AFABFB #FBAFAB #ABFBAF
tetradic
#AFABFB #FBABCF #F7FBAB #ABFBD7
square
#AFABFB #FBABCF #F7FBAB #ABFBD7
split-complementary
#AFABFB #FBD7AB #CFFBAB
monochromatic
#4036F5 #7771F8 #AFABFB #E3E2FE #E3E2FE

Accessibility & contrast

On white

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

On black

10.04
#AFABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABFB
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABFB#FFFFFF#000000##000000
##AFABFB1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FE
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#9CB9C8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afabfb;
/* rgb */ color: rgb(175, 171, 251);
/* oklch */ color: oklch(77.5% 0.113 285.7);
Tailwind
colors: {
  custom: {
    50: '#c8c4fd',
    500: '#afabfb',
    950: '#000000',
  },
}
SCSS
$custom: #afabfb;
$custom-light: #c8c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afabfb",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 243,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.77469,
    "c": 0.11323,
    "h": 285.7
  },
  "luminance": 0.45205
}

Semantic roles & 50–950 ramp

primary
#AFABFB
secondary
#F4F6D5
accent
#E600DA
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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