#AFAEFD#AFAEFD

#AFAEFD is a light, moderate blue. Relative luminance 0.465; OKLCH L 78.1% C 0.112 H 284.1°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#AFAEFD
RGBrgb(175, 174, 253)
HSLhsl(241, 95%, 84%)
HSVhsv(241, 31%, 99%)
CMYKcmyk(30.8%, 31.2%, 0%, 0.8%)
CIE-LABlab(73.85, 17.77, -38.98)
CIE-LCHlch(73.85, 42.84, 294.51°)
OKLaboklab(78.13% 0.0272 -0.1084)
OKLCHoklch(78.13% 0.112 284.1)
XYZxyz(50.5401, 46.4766, 99.2175)
Luminance0.4648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEFD #FCFDAE
analogous
#AED4FD #AFAEFD #D6AEFD
triadic
#AFAEFD #FDAFAE #AEFDAF
tetradic
#AFAEFD #FDAED4 #FCFDAE #AEFDD6
square
#AFAEFD #FDAED4 #FCFDAE #AEFDD6
split-complementary
#AFAEFD #FDD6AE #D4FDAE
monochromatic
#3937FA #7472FC #AFAEFD #E2E1FE #E2E1FE

Accessibility & contrast

On white

2.04
#AFAEFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#AFAEFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEFD
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEFD#FFFFFF#000000##000000
##AFAEFD1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#9CBCCA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaefd;
/* rgb */ color: rgb(175, 174, 253);
/* oklch */ color: oklch(78.1% 0.112 284.1);
Tailwind
colors: {
  custom: {
    50: '#c9c6fe',
    500: '#afaefd',
    950: '#000000',
  },
}
SCSS
$custom: #afaefd;
$custom-light: #c9c6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afaefd",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 253
  },
  "hsl": {
    "h": 240.759,
    "s": 95.181,
    "l": 83.725
  },
  "oklch": {
    "l": 0.78133,
    "c": 0.11176,
    "h": 284.1
  },
  "luminance": 0.46478
}

Semantic roles & 50–950 ramp

primary
#AFAEFD
secondary
#F6F6D5
accent
#E600E3
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFAEFD

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

Preview Lab → · Contrast checker → · Palette generator →

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