#AFACF1#AFACF1

#AFACF1 is a light, moderate blue. Relative luminance 0.450; OKLCH L 77.2% C 0.098 H 285.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFACF1
RGBrgb(175, 172, 241)
HSLhsl(243, 71%, 81%)
HSVhsv(243, 29%, 95%)
CMYKcmyk(27.4%, 28.6%, 0%, 5.5%)
CIE-LABlab(72.87, 15.95, -34.01)
CIE-LCHlch(72.87, 37.56, 295.12°)
OKLaboklab(77.22% 0.0267 -0.0941)
OKLCHoklch(77.22% 0.098 285.9)
XYZxyz(48.3048, 44.9688, 89.3369)
Luminance0.4497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACF1 #EEF1AC
analogous
#ACCBF1 #AFACF1 #D1ACF1
triadic
#AFACF1 #F1AFAC #ACF1AF
tetradic
#AFACF1 #F1ACCB #EEF1AC #ACF1D1
square
#AFACF1 #F1ACCB #EEF1AC #ACF1D1
split-complementary
#AFACF1 #F1D1AC #CBF1AC
monochromatic
#4A43DF #7D78E8 #AFACF1 #E1E0FA #E6E5FB

Accessibility & contrast

On white

2.10
#AFACF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFACF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACF1
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACF1#FFFFFF#000000##000000
##AFACF11.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F4
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#A0B8C4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afacf1;
/* rgb */ color: rgb(175, 172, 241);
/* oklch */ color: oklch(77.2% 0.098 285.9);
Tailwind
colors: {
  custom: {
    50: '#c8c4f6',
    500: '#afacf1',
    950: '#000000',
  },
}
SCSS
$custom: #afacf1;
$custom-light: #c8c4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#afacf1",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 241
  },
  "hsl": {
    "h": 242.609,
    "s": 71.134,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77217,
    "c": 0.09787,
    "h": 285.9
  },
  "luminance": 0.4497
}

Semantic roles & 50–950 ramp

primary
#AFACF1
secondary
#F1F2D9
accent
#D312CB
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131217
muted
#828185

Preview Lab

Preview with #AFACF1

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

Preview Lab → · Contrast checker → · Palette generator →

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