#AFACFB#AFACFB

#AFACFB is a light, moderate blue. Relative luminance 0.456; OKLCH L 77.7% C 0.112 H 285.2°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#AFACFB
RGBrgb(175, 172, 251)
HSLhsl(242, 91%, 83%)
HSVhsv(242, 31%, 98%)
CMYKcmyk(30.3%, 31.5%, 0%, 1.6%)
CIE-LABlab(73.27, 18.39, -38.80)
CIE-LCHlch(73.27, 42.94, 295.36°)
OKLaboklab(77.66% 0.0294 -0.1079)
OKLCHoklch(77.66% 0.112 285.2)
XYZxyz(49.8397, 45.5828, 97.4205)
Luminance0.4558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACFB #F8FBAC
analogous
#ACD1FB #AFACFB #D6ACFB
triadic
#AFACFB #FBAFAC #ACFBAF
tetradic
#AFACFB #FBACD1 #F8FBAC #ACFBD6
square
#AFACFB #FBACD1 #F8FBAC #ACFBD6
split-complementary
#AFACFB #FBD6AC #D1FBAC
monochromatic
#3E37F5 #7772F8 #AFACFB #E3E2FE #E3E2FE

Accessibility & contrast

On white

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

On black

10.12
#AFACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACFB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACFB#FFFFFF#000000##000000
##AFACFB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#9CBAC8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afacfb;
/* rgb */ color: rgb(175, 172, 251);
/* oklch */ color: oklch(77.7% 0.112 285.2);
Tailwind
colors: {
  custom: {
    50: '#c8c4fd',
    500: '#afacfb',
    950: '#000000',
  },
}
SCSS
$custom: #afacfb;
$custom-light: #c8c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afacfb",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 242.278,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.7766,
    "c": 0.1118,
    "h": 285.2
  },
  "luminance": 0.45584
}

Semantic roles & 50–950 ramp

primary
#AFACFB
secondary
#F4F6D5
accent
#E600DD
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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