#AFA4E8#AFA4E8

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

Color values

HEX#AFA4E8
RGBrgb(175, 164, 232)
HSLhsl(250, 60%, 78%)
HSVhsv(250, 29%, 91%)
CMYKcmyk(24.6%, 29.3%, 0%, 9%)
CIE-LABlab(70.52, 18.26, -32.75)
CIE-LCHlch(70.52, 37.49, 299.14°)
OKLaboklab(75.29% 0.0353 -0.0905)
OKLCHoklch(75.29% 0.097 291.3)
XYZxyz(45.5166, 41.4904, 81.9387)
Luminance0.4149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4E8 #DDE8A4
analogous
#A4BBE8 #AFA4E8 #D1A4E8
triadic
#AFA4E8 #E8AFA4 #A4E8AF
tetradic
#AFA4E8 #E8A4BB #DDE8A4 #A4E8D1
square
#AFA4E8 #E8A4BB #DDE8A4 #A4E8D1
split-complementary
#AFA4E8 #E8D1A4 #BBE8A4
monochromatic
#5942CF #8473DC #AFA4E8 #DAD5F4 #EAE7F9

Accessibility & contrast

On white

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

On black

9.30
#AFA4E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4E8
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4E8#FFFFFF#000000##000000
##AFA4E81.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEEB
Deuteranopia (green-blind)
#93ABE6
Tritanopia (blue-blind)
#A3AFBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa4e8;
/* rgb */ color: rgb(175, 164, 232);
/* oklch */ color: oklch(75.3% 0.097 291.3);
Tailwind
colors: {
  custom: {
    50: '#c8bfef',
    500: '#afa4e8',
    950: '#000000',
  },
}
SCSS
$custom: #afa4e8;
$custom-light: #c8bfef;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4e8",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 232
  },
  "hsl": {
    "h": 249.706,
    "s": 59.649,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75285,
    "c": 0.09716,
    "h": 291.3
  },
  "luminance": 0.41491
}

Semantic roles & 50–950 ramp

primary
#AFA4E8
secondary
#EDF0DB
accent
#C71EAC
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4E8

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

Preview Lab → · Contrast checker → · Palette generator →

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