#AFA9EA#AFA9EA

#AFA9EA is a light, moderate blue. Relative luminance 0.434; OKLCH L 76.3% C 0.092 H 288.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#AFA9EA
RGBrgb(175, 169, 234)
HSLhsl(246, 61%, 79%)
HSVhsv(246, 28%, 92%)
CMYKcmyk(25.2%, 27.8%, 0%, 8.2%)
CIE-LABlab(71.85, 15.94, -31.79)
CIE-LCHlch(71.85, 35.56, 296.63°)
OKLaboklab(76.33% 0.0289 -0.0878)
OKLCHoklch(76.33% 0.092 288.2)
XYZxyz(46.7148, 43.4296, 83.7475)
Luminance0.4343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9EA #E4EAA9
analogous
#A9C4EA #AFA9EA #D0A9EA
triadic
#AFA9EA #EAAFA9 #A9EAAF
tetradic
#AFA9EA #EAA9C4 #E4EAA9 #A9EAD0
square
#AFA9EA #EAA9C4 #E4EAA9 #A9EAD0
split-complementary
#AFA9EA #EAD0A9 #C4EAA9
monochromatic
#5347D2 #8178DE #AFA9EA #DDDAF6 #E8E6F9

Accessibility & contrast

On white

2.17
#AFA9EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#AFA9EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9EA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9EA#FFFFFF#000000##000000
##AFA9EA1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2ED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#A2B4C0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afa9ea;
/* rgb */ color: rgb(175, 169, 234);
/* oklch */ color: oklch(76.3% 0.092 288.2);
Tailwind
colors: {
  custom: {
    50: '#c8c2f1',
    500: '#afa9ea',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ea;
$custom-light: #c8c2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ea",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 234
  },
  "hsl": {
    "h": 245.538,
    "s": 60.748,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76334,
    "c": 0.09244,
    "h": 288.2
  },
  "luminance": 0.4343
}

Semantic roles & 50–950 ramp

primary
#AFA9EA
secondary
#EEF0DB
accent
#C81DB9
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA9EA

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

Preview Lab → · Contrast checker → · Palette generator →

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