#AFAAE1#AFAAE1

#AFAAE1 is a light, moderate blue. Relative luminance 0.433; OKLCH L 76.2% C 0.078 H 288.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#AFAAE1
RGBrgb(175, 170, 225)
HSLhsl(245, 48%, 77%)
HSVhsv(245, 24%, 88%)
CMYKcmyk(22.2%, 24.4%, 0%, 11.8%)
CIE-LABlab(71.76, 13.28, -27.01)
CIE-LCHlch(71.76, 30.10, 296.17°)
OKLaboklab(76.15% 0.0249 -0.0742)
OKLCHoklch(76.15% 0.078 288.6)
XYZxyz(45.6413, 43.2990, 77.1725)
Luminance0.4330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAE1 #DCE1AA
analogous
#AAC0E1 #AFAAE1 #CBAAE1
triadic
#AFAAE1 #E1AFAA #AAE1AF
tetradic
#AFAAE1 #E1AAC0 #DCE1AA #AAE1CB
square
#AFAAE1 #E1AAC0 #DCE1AA #AAE1CB
split-complementary
#AFAAE1 #E1CBAA #C0E1AA
monochromatic
#5A50C1 #847DD1 #AFAAE1 #DAD7F1 #EAE8F7

Accessibility & contrast

On white

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

On black

9.66
#AFAAE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAE1
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAE1#FFFFFF#000000##000000
##AFAAE11.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB1E3
Deuteranopia (green-blind)
#9CAFE0
Tritanopia (blue-blind)
#A4B3BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afaae1;
/* rgb */ color: rgb(175, 170, 225);
/* oklch */ color: oklch(76.2% 0.078 288.6);
Tailwind
colors: {
  custom: {
    50: '#c7c3ea',
    500: '#afaae1',
    950: '#000000',
  },
}
SCSS
$custom: #afaae1;
$custom-light: #c7c3ea;
$custom-dark: #000000;
JSON
{
  "hex": "#afaae1",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 225
  },
  "hsl": {
    "h": 245.455,
    "s": 47.826,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76154,
    "c": 0.07831,
    "h": 288.6
  },
  "luminance": 0.433
}

Semantic roles & 50–950 ramp

primary
#AFAAE1
secondary
#ECEEDD
accent
#BB2AAE
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAE1

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

Preview Lab → · Contrast checker → · Palette generator →

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