#AFAAE4#AFAAE4

#AFAAE4 is a light, moderate blue. Relative luminance 0.435; OKLCH L 76.3% C 0.083 H 288.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#AFAAE4
RGBrgb(175, 170, 228)
HSLhsl(245, 52%, 78%)
HSVhsv(245, 25%, 89%)
CMYKcmyk(23.2%, 25.4%, 0%, 10.6%)
CIE-LABlab(71.87, 13.97, -28.48)
CIE-LCHlch(71.87, 31.72, 296.13°)
OKLaboklab(76.28% 0.0258 -0.0784)
OKLCHoklch(76.28% 0.083 288.2)
XYZxyz(46.0541, 43.4641, 79.3468)
Luminance0.4346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAE4 #DFE4AA
analogous
#AAC2E4 #AFAAE4 #CCAAE4
triadic
#AFAAE4 #E4AFAA #AAE4AF
tetradic
#AFAAE4 #E4AAC2 #DFE4AA #AAE4CC
square
#AFAAE4 #E4AAC2 #DFE4AA #AAE4CC
split-complementary
#AFAAE4 #E4CCAA #C2E4AA
monochromatic
#584DC6 #837CD5 #AFAAE4 #DBD8F3 #E9E8F8

Accessibility & contrast

On white

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

On black

9.69
#AFAAE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAE4
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAE4#FFFFFF#000000##000000
##AFAAE41.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB1E6
Deuteranopia (green-blind)
#9BAFE2
Tritanopia (blue-blind)
#A3B4BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afaae4;
/* rgb */ color: rgb(175, 170, 228);
/* oklch */ color: oklch(76.3% 0.083 288.2);
Tailwind
colors: {
  custom: {
    50: '#c7c3ec',
    500: '#afaae4',
    950: '#000000',
  },
}
SCSS
$custom: #afaae4;
$custom-light: #c7c3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#afaae4",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 228
  },
  "hsl": {
    "h": 245.172,
    "s": 51.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76277,
    "c": 0.08253,
    "h": 288.2
  },
  "luminance": 0.43465
}

Semantic roles & 50–950 ramp

primary
#AFAAE4
secondary
#EDEFDC
accent
#BF26B2
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAE4

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

Preview Lab → · Contrast checker → · Palette generator →

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