#AFAAEF#AFAAEF

#AFAAEF is a light, moderate blue. Relative luminance 0.441; OKLCH L 76.7% C 0.098 H 287.2°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#AFAAEF
RGBrgb(175, 170, 239)
HSLhsl(244, 68%, 80%)
HSVhsv(244, 29%, 94%)
CMYKcmyk(26.8%, 28.9%, 0%, 6.3%)
CIE-LABlab(72.29, 16.58, -33.82)
CIE-LCHlch(72.29, 37.66, 296.12°)
OKLaboklab(76.74% 0.0289 -0.0936)
OKLCHoklch(76.74% 0.098 287.2)
XYZxyz(47.6300, 44.0945, 87.6463)
Luminance0.4410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAEF #EAEFAA
analogous
#AAC7EF #AFAAEF #D2AAEF
triadic
#AFAAEF #EFAFAA #AAEFAF
tetradic
#AFAAEF #EFAAC7 #EAEFAA #AAEFD2
square
#AFAAEF #EFAAC7 #EAEFAA #AAEFD2
split-complementary
#AFAAEF #EFD2AA #C7EFAA
monochromatic
#4E43DC #7F76E5 #AFAAEF #DFDEF9 #E7E5FA

Accessibility & contrast

On white

2.14
#AFAAEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#AFAAEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAEF
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAEF#FFFFFF#000000##000000
##AFAAEF1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F2
Deuteranopia (green-blind)
#96AFED
Tritanopia (blue-blind)
#A0B6C2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaaef;
/* rgb */ color: rgb(175, 170, 239);
/* oklch */ color: oklch(76.7% 0.098 287.2);
Tailwind
colors: {
  custom: {
    50: '#c8c3f4',
    500: '#afaaef',
    950: '#000000',
  },
}
SCSS
$custom: #afaaef;
$custom-light: #c8c3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaef",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 239
  },
  "hsl": {
    "h": 244.348,
    "s": 68.317,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76743,
    "c": 0.09797,
    "h": 287.2
  },
  "luminance": 0.44095
}

Semantic roles & 50–950 ramp

primary
#AFAAEF
secondary
#F0F2D9
accent
#D015C3
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAEF

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

Preview Lab → · Contrast checker → · Palette generator →

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