#AFAAE2#AFAAE2

#AFAAE2 is a light, moderate blue. Relative luminance 0.434; OKLCH L 76.2% C 0.080 H 288.4°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#AFAAE2
RGBrgb(175, 170, 226)
HSLhsl(245, 49%, 78%)
HSVhsv(245, 25%, 89%)
CMYKcmyk(22.6%, 24.8%, 0%, 11.4%)
CIE-LABlab(71.79, 13.51, -27.50)
CIE-LCHlch(71.79, 30.64, 296.16°)
OKLaboklab(76.2% 0.0252 -0.0756)
OKLCHoklch(76.2% 0.08 288.4)
XYZxyz(45.7781, 43.3537, 77.8930)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAE2 #DDE2AA
analogous
#AAC1E2 #AFAAE2 #CBAAE2
triadic
#AFAAE2 #E2AFAA #AAE2AF
tetradic
#AFAAE2 #E2AAC1 #DDE2AA #AAE2CB
square
#AFAAE2 #E2AAC1 #DDE2AA #AAE2CB
split-complementary
#AFAAE2 #E2CBAA #C1E2AA
monochromatic
#594FC3 #847CD2 #AFAAE2 #DAD8F2 #EAE8F7

Accessibility & contrast

On white

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

On black

9.67
#AFAAE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAE2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAE2#FFFFFF#000000##000000
##AFAAE21.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaae2;
/* rgb */ color: rgb(175, 170, 226);
/* oklch */ color: oklch(76.2% 0.080 288.4);
Tailwind
colors: {
  custom: {
    50: '#c7c3eb',
    500: '#afaae2',
    950: '#000000',
  },
}
SCSS
$custom: #afaae2;
$custom-light: #c7c3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#afaae2",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 226
  },
  "hsl": {
    "h": 245.357,
    "s": 49.123,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76195,
    "c": 0.07971,
    "h": 288.4
  },
  "luminance": 0.43354
}

Semantic roles & 50–950 ramp

primary
#AFAAE2
secondary
#EDEEDD
accent
#BC29AF
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAE2

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

Preview Lab → · Contrast checker → · Palette generator →

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