#AFA9DF#AFA9DF

#AFA9DF is a light, moderate blue. Relative luminance 0.428; OKLCH L 75.9% C 0.077 H 289.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#AFA9DF
RGBrgb(175, 169, 223)
HSLhsl(247, 46%, 77%)
HSVhsv(247, 24%, 87%)
CMYKcmyk(21.5%, 24.2%, 0%, 12.5%)
CIE-LABlab(71.43, 13.37, -26.42)
CIE-LCHlch(71.43, 29.61, 296.84°)
OKLaboklab(75.88% 0.0257 -0.0726)
OKLCHoklch(75.88% 0.077 289.5)
XYZxyz(45.1833, 42.8170, 75.6818)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9DF #D9DFA9
analogous
#A9BEDF #AFA9DF #CAA9DF
triadic
#AFA9DF #DFAFA9 #A9DFAF
tetradic
#AFA9DF #DFA9BE #D9DFA9 #A9DFCA
square
#AFA9DF #DFA9BE #D9DFA9 #A9DFCA
split-complementary
#AFA9DF #DFCAA9 #BEDFA9
monochromatic
#5C50BE #867CCE #AFA9DF #D8D6F0 #EAE9F7

Accessibility & contrast

On white

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

On black

9.56
#AFA9DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9DF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9DF#FFFFFF#000000##000000
##AFA9DF1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0E1
Deuteranopia (green-blind)
#9CAEDE
Tritanopia (blue-blind)
#A5B2BC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa9df;
/* rgb */ color: rgb(175, 169, 223);
/* oklch */ color: oklch(75.9% 0.077 289.5);
Tailwind
colors: {
  custom: {
    50: '#c7c2e9',
    500: '#afa9df',
    950: '#000000',
  },
}
SCSS
$custom: #afa9df;
$custom-light: #c7c2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9df",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 223
  },
  "hsl": {
    "h": 246.667,
    "s": 45.763,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75877,
    "c": 0.07698,
    "h": 289.5
  },
  "luminance": 0.42818
}

Semantic roles & 50–950 ramp

primary
#AFA9DF
secondary
#ECEEDD
accent
#B92DA9
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9DF

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

Preview Lab → · Contrast checker → · Palette generator →

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