#AFA9DC#AFA9DC

#AFA9DC is a light, moderate blue. Relative luminance 0.427; OKLCH L 75.8% C 0.073 H 289.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA9DC
RGBrgb(175, 169, 220)
HSLhsl(247, 42%, 76%)
HSVhsv(247, 23%, 86%)
CMYKcmyk(20.5%, 23.2%, 0%, 13.7%)
CIE-LABlab(71.32, 12.68, -24.95)
CIE-LCHlch(71.32, 27.99, 296.95°)
OKLaboklab(75.76% 0.0248 -0.0684)
OKLCHoklch(75.76% 0.073 289.9)
XYZxyz(44.7824, 42.6566, 73.5705)
Luminance0.4266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9DC #D6DCA9
analogous
#A9BDDC #AFA9DC #C9A9DC
triadic
#AFA9DC #DCAFA9 #A9DCAF
tetradic
#AFA9DC #DCA9BD #D6DCA9 #A9DCC9
square
#AFA9DC #DCA9BD #D6DCA9 #A9DCC9
split-complementary
#AFA9DC #DCC9A9 #BDDCA9
monochromatic
#5E52B9 #877ECA #AFA9DC #D7D4EE #EBE9F6

Accessibility & contrast

On white

2.20
#AFA9DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#AFA9DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9DC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9DC#FFFFFF#000000##000000
##AFA9DC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB0DE
Deuteranopia (green-blind)
#9DAEDB
Tritanopia (blue-blind)
#A6B1BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa9dc;
/* rgb */ color: rgb(175, 169, 220);
/* oklch */ color: oklch(75.8% 0.073 289.9);
Tailwind
colors: {
  custom: {
    50: '#c7c2e7',
    500: '#afa9dc',
    950: '#000000',
  },
}
SCSS
$custom: #afa9dc;
$custom-light: #c7c2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9dc",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 220
  },
  "hsl": {
    "h": 247.059,
    "s": 42.149,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75756,
    "c": 0.07275,
    "h": 289.9
  },
  "luminance": 0.42657
}

Semantic roles & 50–950 ramp

primary
#AFA9DC
secondary
#EBEDDE
accent
#B530A6
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9DC

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

Preview Lab → · Contrast checker → · Palette generator →

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