#AFA4EE#AFA4EE

#AFA4EE is a light, moderate blue. Relative luminance 0.418; OKLCH L 75.5% C 0.105 H 290.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#AFA4EE
RGBrgb(175, 164, 238)
HSLhsl(249, 69%, 79%)
HSVhsv(249, 31%, 93%)
CMYKcmyk(26.5%, 31.1%, 0%, 6.7%)
CIE-LABlab(70.76, 19.69, -35.65)
CIE-LCHlch(70.76, 40.73, 298.91°)
OKLaboklab(75.55% 0.0369 -0.0988)
OKLCHoklch(75.55% 0.105 290.5)
XYZxyz(46.3835, 41.8371, 86.5040)
Luminance0.4184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4EE #E3EEA4
analogous
#A4BEEE #AFA4EE #D4A4EE
triadic
#AFA4EE #EEAFA4 #A4EEAF
tetradic
#AFA4EE #EEA4BE #E3EEA4 #A4EED4
square
#AFA4EE #EEA4BE #E3EEA4 #A4EED4
split-complementary
#AFA4EE #EED4A4 #BEEEA4
monochromatic
#543DDB #8270E4 #AFA4EE #DCD8F8 #E8E5FA

Accessibility & contrast

On white

2.24
#AFA4EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#AFA4EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4EE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4EE#FFFFFF#000000##000000
##AFA4EE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#A1B1BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa4ee;
/* rgb */ color: rgb(175, 164, 238);
/* oklch */ color: oklch(75.5% 0.105 290.5);
Tailwind
colors: {
  custom: {
    50: '#c8bff3',
    500: '#afa4ee',
    950: '#000000',
  },
}
SCSS
$custom: #afa4ee;
$custom-light: #c8bff3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4ee",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 238
  },
  "hsl": {
    "h": 248.919,
    "s": 68.519,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75549,
    "c": 0.10548,
    "h": 290.5
  },
  "luminance": 0.41838
}

Semantic roles & 50–950 ramp

primary
#AFA4EE
secondary
#EEF2D9
accent
#D015B5
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA4EE

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

Preview Lab → · Contrast checker → · Palette generator →

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