#AFA9DB#AFA9DB

#AFA9DB is a light, moderate blue. Relative luminance 0.426; OKLCH L 75.7% C 0.071 H 290.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#AFA9DB
RGBrgb(175, 169, 219)
HSLhsl(247, 41%, 76%)
HSVhsv(247, 23%, 86%)
CMYKcmyk(20.1%, 22.8%, 0%, 14.1%)
CIE-LABlab(71.29, 12.46, -24.45)
CIE-LCHlch(71.29, 27.44, 296.99°)
OKLaboklab(75.72% 0.0245 -0.067)
OKLCHoklch(75.72% 0.071 290.1)
XYZxyz(44.6504, 42.6038, 72.8751)
Luminance0.4260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9DB #D5DBA9
analogous
#A9BCDB #AFA9DB #C8A9DB
triadic
#AFA9DB #DBAFA9 #A9DBAF
tetradic
#AFA9DB #DBA9BC #D5DBA9 #A9DBC8
square
#AFA9DB #DBA9BC #D5DBA9 #A9DBC8
split-complementary
#AFA9DB #DBC8A9 #BCDBA9
monochromatic
#5F53B7 #877EC9 #AFA9DB #D7D4ED #EBE9F6

Accessibility & contrast

On white

2.21
#AFA9DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#AFA9DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9DB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9DB#FFFFFF#000000##000000
##AFA9DB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa9db;
/* rgb */ color: rgb(175, 169, 219);
/* oklch */ color: oklch(75.7% 0.071 290.1);
Tailwind
colors: {
  custom: {
    50: '#c7c2e6',
    500: '#afa9db',
    950: '#000000',
  },
}
SCSS
$custom: #afa9db;
$custom-light: #c7c2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9db",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 219
  },
  "hsl": {
    "h": 247.2,
    "s": 40.984,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75716,
    "c": 0.07134,
    "h": 290.1
  },
  "luminance": 0.42604
}

Semantic roles & 50–950 ramp

primary
#AFA9DB
secondary
#EBEDDE
accent
#B431A4
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9DB

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

Preview Lab → · Contrast checker → · Palette generator →

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