#AFA5EE#AFA5EE

#AFA5EE is a light, moderate blue. Relative luminance 0.422; OKLCH L 75.7% C 0.104 H 290.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#AFA5EE
RGBrgb(175, 165, 238)
HSLhsl(248, 68%, 79%)
HSVhsv(248, 31%, 93%)
CMYKcmyk(26.5%, 30.7%, 0%, 6.7%)
CIE-LABlab(71.01, 19.13, -35.27)
CIE-LCHlch(71.01, 40.12, 298.48°)
OKLaboklab(75.74% 0.0355 -0.0977)
OKLCHoklch(75.74% 0.104 290)
XYZxyz(46.5631, 42.1965, 86.5639)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA5EE #E4EEA5
analogous
#A5C0EE #AFA5EE #D4A5EE
triadic
#AFA5EE #EEAFA5 #A5EEAF
tetradic
#AFA5EE #EEA5C0 #E4EEA5 #A5EED4
square
#AFA5EE #EEA5C0 #E4EEA5 #A5EED4
split-complementary
#AFA5EE #EED4A5 #C0EEA5
monochromatic
#533EDB #8172E4 #AFA5EE #DDD8F8 #E8E5FA

Accessibility & contrast

On white

2.22
#AFA5EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#AFA5EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA5EE
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA5EE#FFFFFF#000000##000000
##AFA5EE1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF1
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#A1B2BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa5ee;
/* rgb */ color: rgb(175, 165, 238);
/* oklch */ color: oklch(75.7% 0.104 290.0);
Tailwind
colors: {
  custom: {
    50: '#c8bff3',
    500: '#afa5ee',
    950: '#000000',
  },
}
SCSS
$custom: #afa5ee;
$custom-light: #c8bff3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa5ee",
  "rgb": {
    "r": 175,
    "g": 165,
    "b": 238
  },
  "hsl": {
    "h": 248.219,
    "s": 68.224,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.10397,
    "h": 290
  },
  "luminance": 0.42197
}

Semantic roles & 50–950 ramp

primary
#AFA5EE
secondary
#EEF2D9
accent
#D015B7
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA5EE

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

Preview Lab → · Contrast checker → · Palette generator →

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