#AFA9DD#AFA9DD

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

Color values

HEX#AFA9DD
RGBrgb(175, 169, 221)
HSLhsl(247, 43%, 76%)
HSVhsv(247, 24%, 87%)
CMYKcmyk(20.8%, 23.5%, 0%, 13.3%)
CIE-LABlab(71.36, 12.91, -25.44)
CIE-LCHlch(71.36, 28.53, 296.91°)
OKLaboklab(75.8% 0.0251 -0.0698)
OKLCHoklch(75.8% 0.074 289.8)
XYZxyz(44.9153, 42.7098, 74.2701)
Luminance0.4271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9DD #D7DDA9
analogous
#A9BDDD #AFA9DD #C9A9DD
triadic
#AFA9DD #DDAFA9 #A9DDAF
tetradic
#AFA9DD #DDA9BD #D7DDA9 #A9DDC9
square
#AFA9DD #DDA9BD #D7DDA9 #A9DDC9
split-complementary
#AFA9DD #DDC9A9 #BDDDA9
monochromatic
#5D51BA #867DCC #AFA9DD #D8D5EE #EBE9F6

Accessibility & contrast

On white

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

On black

9.54
#AFA9DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9DD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9DD#FFFFFF#000000##000000
##AFA9DD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0DF
Deuteranopia (green-blind)
#9CAEDC
Tritanopia (blue-blind)
#A5B1BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa9dd;
/* rgb */ color: rgb(175, 169, 221);
/* oklch */ color: oklch(75.8% 0.074 289.8);
Tailwind
colors: {
  custom: {
    50: '#c7c2e7',
    500: '#afa9dd',
    950: '#000000',
  },
}
SCSS
$custom: #afa9dd;
$custom-light: #c7c2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9dd",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 221
  },
  "hsl": {
    "h": 246.923,
    "s": 43.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75796,
    "c": 0.07416,
    "h": 289.8
  },
  "luminance": 0.4271
}

Semantic roles & 50–950 ramp

primary
#AFA9DD
secondary
#EBEDDE
accent
#B62FA7
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9DD

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

Preview Lab → · Contrast checker → · Palette generator →

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