#AFAEF5#AFAEF5

#AFAEF5 is a light, moderate blue. Relative luminance 0.460; OKLCH L 77.8% C 0.101 H 284.5°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFAEF5
RGBrgb(175, 174, 245)
HSLhsl(241, 78%, 82%)
HSVhsv(241, 29%, 96%)
CMYKcmyk(28.6%, 29%, 0%, 3.9%)
CIE-LABlab(73.53, 15.80, -35.16)
CIE-LCHlch(73.53, 38.54, 294.21°)
OKLaboklab(77.78% 0.0251 -0.0974)
OKLCHoklch(77.78% 0.101 284.5)
XYZxyz(49.2924, 45.9775, 92.6460)
Luminance0.4598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEF5 #F4F5AE
analogous
#AED1F5 #AFAEF5 #D3AEF5
triadic
#AFAEF5 #F5AFAE #AEF5AF
tetradic
#AFAEF5 #F5AED1 #F4F5AE #AEF5D3
square
#AFAEF5 #F5AED1 #F4F5AE #AEF5D3
split-complementary
#AFAEF5 #F5D3AE #D1F5AE
monochromatic
#4341E8 #7978EE #AFAEF5 #E4E4FC #E4E4FC

Accessibility & contrast

On white

2.06
#AFAEF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFAEF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEF5
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEF5#FFFFFF#000000##000000
##AFAEF51.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB7F8
Deuteranopia (green-blind)
#98B3F3
Tritanopia (blue-blind)
#9EBBC7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaef5;
/* rgb */ color: rgb(175, 174, 245);
/* oklch */ color: oklch(77.8% 0.101 284.5);
Tailwind
colors: {
  custom: {
    50: '#c8c6f8',
    500: '#afaef5',
    950: '#000000',
  },
}
SCSS
$custom: #afaef5;
$custom-light: #c8c6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaef5",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 245
  },
  "hsl": {
    "h": 240.845,
    "s": 78.022,
    "l": 82.157
  },
  "oklch": {
    "l": 0.77778,
    "c": 0.10061,
    "h": 284.5
  },
  "luminance": 0.45979
}

Semantic roles & 50–950 ramp

primary
#AFAEF5
secondary
#F3F3D8
accent
#DA0BD7
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEF5

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

Preview Lab → · Contrast checker → · Palette generator →

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