#AFABFC#AFABFC

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

Color values

HEX#AFABFC
RGBrgb(175, 171, 252)
HSLhsl(243, 93%, 83%)
HSVhsv(243, 32%, 99%)
CMYKcmyk(30.6%, 32.1%, 0%, 1.2%)
CIE-LABlab(73.07, 19.20, -39.66)
CIE-LCHlch(73.07, 44.06, 295.83°)
OKLaboklab(77.51% 0.0309 -0.1104)
OKLCHoklch(77.51% 0.115 285.7)
XYZxyz(49.8082, 45.2668, 98.1897)
Luminance0.4527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABFC #F8FCAB
analogous
#ABCFFC #AFABFC #D7ABFC
triadic
#AFABFC #FCAFAB #ABFCAF
tetradic
#AFABFC #FCABCF #F8FCAB #ABFCD7
square
#AFABFC #FCABCF #F8FCAB #ABFCD7
split-complementary
#AFABFC #FCD7AB #CFFCAB
monochromatic
#3E35F8 #7770FA #AFABFC #E3E1FE #E3E1FE

Accessibility & contrast

On white

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

On black

10.05
#AFABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABFC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABFC#FFFFFF#000000##000000
##AFABFC1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#9CBAC8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afabfc;
/* rgb */ color: rgb(175, 171, 252);
/* oklch */ color: oklch(77.5% 0.115 285.7);
Tailwind
colors: {
  custom: {
    50: '#c9c4fd',
    500: '#afabfc',
    950: '#000000',
  },
}
SCSS
$custom: #afabfc;
$custom-light: #c9c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afabfc",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 242.963,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.77514,
    "c": 0.11461,
    "h": 285.7
  },
  "luminance": 0.45268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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