#AFAAE9#AFAAE9

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

Color values

HEX#AFAAE9
RGBrgb(175, 170, 233)
HSLhsl(245, 59%, 79%)
HSVhsv(245, 27%, 91%)
CMYKcmyk(24.9%, 27%, 0%, 8.6%)
CIE-LABlab(72.06, 15.15, -30.91)
CIE-LCHlch(72.06, 34.43, 296.10°)
OKLaboklab(76.49% 0.0273 -0.0853)
OKLCHoklch(76.49% 0.09 287.7)
XYZxyz(46.7583, 43.7458, 83.0553)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAE9 #E4E9AA
analogous
#AAC5E9 #AFAAE9 #CFAAE9
triadic
#AFAAE9 #E9AFAA #AAE9AF
tetradic
#AFAAE9 #E9AAC5 #E4E9AA #AAE9CF
square
#AFAAE9 #E9AAC5 #E4E9AA #AAE9CF
split-complementary
#AFAAE9 #E9CFAA #C5E9AA
monochromatic
#5349D0 #8179DC #AFAAE9 #DDDBF6 #E8E7F9

Accessibility & contrast

On white

2.15
#AFAAE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#AFAAE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAE9
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAE9#FFFFFF#000000##000000
##AFAAE91.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB2EC
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#A2B5C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaae9;
/* rgb */ color: rgb(175, 170, 233);
/* oklch */ color: oklch(76.5% 0.090 287.7);
Tailwind
colors: {
  custom: {
    50: '#c8c3f0',
    500: '#afaae9',
    950: '#000000',
  },
}
SCSS
$custom: #afaae9;
$custom-light: #c8c3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#afaae9",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 233
  },
  "hsl": {
    "h": 244.762,
    "s": 58.879,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.08956,
    "h": 287.7
  },
  "luminance": 0.43747
}

Semantic roles & 50–950 ramp

primary
#AFAAE9
secondary
#EEF0DB
accent
#C71FB9
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAE9

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

Preview Lab → · Contrast checker → · Palette generator →

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