#AFA4E9#AFA4E9

#AFA4E9 is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.3% C 0.099 H 291.1°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AFA4E9
RGBrgb(175, 164, 233)
HSLhsl(250, 61%, 78%)
HSVhsv(250, 30%, 91%)
CMYKcmyk(24.9%, 29.6%, 0%, 8.6%)
CIE-LABlab(70.56, 18.50, -33.23)
CIE-LCHlch(70.56, 38.03, 299.10°)
OKLaboklab(75.33% 0.0356 -0.0919)
OKLCHoklch(75.33% 0.099 291.1)
XYZxyz(45.6591, 41.5474, 82.6889)
Luminance0.4155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E9 #DEE9A4
analogous
#A4BBE9 #AFA4E9 #D1A4E9
triadic
#AFA4E9 #E9AFA4 #A4E9AF
tetradic
#AFA4E9 #E9A4BB #DEE9A4 #A4E9D1
square
#AFA4E9 #E9A4BB #DEE9A4 #A4E9D1
split-complementary
#AFA4E9 #E9D1A4 #BBE9A4
monochromatic
#5841D1 #8473DD #AFA4E9 #DAD5F5 #E9E6F9

Accessibility & contrast

On white

2.26
#AFA4E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AFA4E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E9
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E9#FFFFFF#000000##000000
##AFA4E91.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEC
Deuteranopia (green-blind)
#93ABE7
Tritanopia (blue-blind)
#A3B0BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa4e9;
/* rgb */ color: rgb(175, 164, 233);
/* oklch */ color: oklch(75.3% 0.099 291.1);
Tailwind
colors: {
  custom: {
    50: '#c8bff0',
    500: '#afa4e9',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e9;
$custom-light: #c8bff0;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e9",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 233
  },
  "hsl": {
    "h": 249.565,
    "s": 61.062,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75329,
    "c": 0.09854,
    "h": 291.1
  },
  "luminance": 0.41548
}

Semantic roles & 50–950 ramp

primary
#AFA4E9
secondary
#EDF0DB
accent
#C91DAD
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E9

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

Preview Lab → · Contrast checker → · Palette generator →

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