#AFA4EA#AFA4EA

#AFA4EA is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.4% C 0.100 H 291.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA4EA
RGBrgb(175, 164, 234)
HSLhsl(249, 63%, 78%)
HSVhsv(249, 30%, 92%)
CMYKcmyk(25.2%, 29.9%, 0%, 8.2%)
CIE-LABlab(70.60, 18.73, -33.72)
CIE-LCHlch(70.60, 38.57, 299.06°)
OKLaboklab(75.37% 0.0358 -0.0933)
OKLCHoklch(75.37% 0.1 291)
XYZxyz(45.8023, 41.6047, 83.4433)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4EA #DFEAA4
analogous
#A4BCEA #AFA4EA #D2A4EA
triadic
#AFA4EA #EAAFA4 #A4EAAF
tetradic
#AFA4EA #EAA4BC #DFEAA4 #A4EAD2
square
#AFA4EA #EAA4BC #DFEAA4 #A4EAD2
split-complementary
#AFA4EA #EAD2A4 #BCEAA4
monochromatic
#5841D3 #8372DF #AFA4EA #DBD6F5 #E9E6F9

Accessibility & contrast

On white

2.25
#AFA4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#AFA4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4EA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4EA#FFFFFF#000000##000000
##AFA4EA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#A2B0BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa4ea;
/* rgb */ color: rgb(175, 164, 234);
/* oklch */ color: oklch(75.4% 0.100 291.0);
Tailwind
colors: {
  custom: {
    50: '#c8bff1',
    500: '#afa4ea',
    950: '#000000',
  },
}
SCSS
$custom: #afa4ea;
$custom-light: #c8bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4ea",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 249.429,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75372,
    "c": 0.09993,
    "h": 291
  },
  "luminance": 0.41605
}

Semantic roles & 50–950 ramp

primary
#AFA4EA
secondary
#EDF1DA
accent
#CA1BAF
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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