#AFAAEA#AFAAEA

#AFAAEA is a light, moderate blue. Relative luminance 0.438; OKLCH L 76.5% C 0.091 H 287.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#AFAAEA
RGBrgb(175, 170, 234)
HSLhsl(245, 60%, 79%)
HSVhsv(245, 27%, 92%)
CMYKcmyk(25.2%, 27.4%, 0%, 8.2%)
CIE-LABlab(72.10, 15.38, -31.40)
CIE-LCHlch(72.10, 34.97, 296.10°)
OKLaboklab(76.53% 0.0275 -0.0867)
OKLCHoklch(76.53% 0.091 287.6)
XYZxyz(46.9015, 43.8031, 83.8097)
Luminance0.4380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAEA #E5EAAA
analogous
#AAC5EA #AFAAEA #CFAAEA
triadic
#AFAAEA #EAAFAA #AAEAAF
tetradic
#AFAAEA #EAAAC5 #E5EAAA #AAEACF
square
#AFAAEA #EAAAC5 #E5EAAA #AAEACF
split-complementary
#AFAAEA #EACFAA #C5EAAA
monochromatic
#5348D2 #8179DE #AFAAEA #DDDBF6 #E8E6F9

Accessibility & contrast

On white

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

On black

9.76
#AFAAEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAEA
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAEA#FFFFFF#000000##000000
##AFAAEA1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#A2B5C0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaaea;
/* rgb */ color: rgb(175, 170, 234);
/* oklch */ color: oklch(76.5% 0.091 287.6);
Tailwind
colors: {
  custom: {
    50: '#c8c3f1',
    500: '#afaaea',
    950: '#000000',
  },
}
SCSS
$custom: #afaaea;
$custom-light: #c8c3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaea",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 234
  },
  "hsl": {
    "h": 244.688,
    "s": 60.377,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76528,
    "c": 0.09097,
    "h": 287.6
  },
  "luminance": 0.43804
}

Semantic roles & 50–950 ramp

primary
#AFAAEA
secondary
#EFF0DB
accent
#C81DBB
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFAAEA

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

Preview Lab → · Contrast checker → · Palette generator →

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