#AFA9EF#AFA9EF

#AFA9EF is a light, moderate blue. Relative luminance 0.437; OKLCH L 76.5% C 0.099 H 287.7°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#AFA9EF
RGBrgb(175, 169, 239)
HSLhsl(245, 69%, 80%)
HSVhsv(245, 29%, 94%)
CMYKcmyk(26.8%, 29.3%, 0%, 6.3%)
CIE-LABlab(72.04, 17.14, -34.21)
CIE-LCHlch(72.04, 38.26, 296.61°)
OKLaboklab(76.55% 0.0303 -0.0947)
OKLCHoklch(76.55% 0.099 287.7)
XYZxyz(47.4432, 43.7210, 87.5840)
Luminance0.4372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9EF #E9EFA9
analogous
#A9C6EF #AFA9EF #D2A9EF
triadic
#AFA9EF #EFAFA9 #A9EFAF
tetradic
#AFA9EF #EFA9C6 #E9EFA9 #A9EFD2
square
#AFA9EF #EFA9C6 #E9EFA9 #A9EFD2
split-complementary
#AFA9EF #EFD2A9 #C6EFA9
monochromatic
#4F42DC #7F75E5 #AFA9EF #DFDDF9 #E7E5FA

Accessibility & contrast

On white

2.16
#AFA9EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#AFA9EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9EF
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9EF#FFFFFF#000000##000000
##AFA9EF1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#95AFED
Tritanopia (blue-blind)
#A0B5C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afa9ef;
/* rgb */ color: rgb(175, 169, 239);
/* oklch */ color: oklch(76.5% 0.099 287.7);
Tailwind
colors: {
  custom: {
    50: '#c8c2f4',
    500: '#afa9ef',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ef;
$custom-light: #c8c2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ef",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 239
  },
  "hsl": {
    "h": 245.143,
    "s": 68.627,
    "l": 80
  },
  "oklch": {
    "l": 0.7655,
    "c": 0.09942,
    "h": 287.7
  },
  "luminance": 0.43722
}

Semantic roles & 50–950 ramp

primary
#AFA9EF
secondary
#F0F2D9
accent
#D115C0
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9EF

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

Preview Lab → · Contrast checker → · Palette generator →

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