#AFA9EE#AFA9EE

#AFA9EE is a light, moderate blue. Relative luminance 0.437; OKLCH L 76.5% C 0.098 H 287.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#AFA9EE
RGBrgb(175, 169, 238)
HSLhsl(245, 67%, 80%)
HSVhsv(245, 29%, 93%)
CMYKcmyk(26.5%, 29%, 0%, 6.7%)
CIE-LABlab(72.00, 16.90, -33.72)
CIE-LCHlch(72.00, 37.72, 296.61°)
OKLaboklab(76.51% 0.03 -0.0933)
OKLCHoklch(76.51% 0.098 287.8)
XYZxyz(47.2959, 43.6620, 86.8081)
Luminance0.4366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9EE #E8EEA9
analogous
#A9C6EE #AFA9EE #D1A9EE
triadic
#AFA9EE #EEAFA9 #A9EEAF
tetradic
#AFA9EE #EEA9C6 #E8EEA9 #A9EED1
square
#AFA9EE #EEA9C6 #E8EEA9 #A9EED1
split-complementary
#AFA9EE #EED1A9 #C6EEA9
monochromatic
#5043DA #7F76E4 #AFA9EE #DFDCF8 #E7E5FA

Accessibility & contrast

On white

2.16
#AFA9EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#AFA9EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9EE
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9EE#FFFFFF#000000##000000
##AFA9EE1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2F1
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#A1B5C1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afa9ee;
/* rgb */ color: rgb(175, 169, 238);
/* oklch */ color: oklch(76.5% 0.098 287.8);
Tailwind
colors: {
  custom: {
    50: '#c8c2f3',
    500: '#afa9ee',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ee;
$custom-light: #c8c2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ee",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 238
  },
  "hsl": {
    "h": 245.217,
    "s": 66.99,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76507,
    "c": 0.09803,
    "h": 287.8
  },
  "luminance": 0.43663
}

Semantic roles & 50–950 ramp

primary
#AFA9EE
secondary
#EFF1DA
accent
#CF17BF
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9EE

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

Preview Lab → · Contrast checker → · Palette generator →

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