#AFAFFD#AFAFFD

#AFAFFD is a light, moderate blue. Relative luminance 0.469; OKLCH L 78.3% C 0.110 H 283.6°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#AFAFFD
RGBrgb(175, 175, 253)
HSLhsl(240, 95%, 84%)
HSVhsv(240, 31%, 99%)
CMYKcmyk(30.8%, 30.8%, 0%, 0.8%)
CIE-LABlab(74.10, 17.22, -38.59)
CIE-LCHlch(74.10, 42.26, 294.05°)
OKLaboklab(78.33% 0.0259 -0.1073)
OKLCHoklch(78.33% 0.11 283.6)
XYZxyz(50.7340, 46.8644, 99.2821)
Luminance0.4687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFD #FDFDAF
analogous
#AFD6FD #AFAFFD #D6AFFD
triadic
#AFAFFD #FDAFAF #AFFDAF
tetradic
#AFAFFD #FDAFD6 #FDFDAF #AFFDD6
square
#AFAFFD #FDAFD6 #FDFDAF #AFFDD6
split-complementary
#AFAFFD #FDD6AF #D6FDAF
monochromatic
#3838FA #7373FC #AFAFFD #E1E1FE #E1E1FE

Accessibility & contrast

On white

2.02
#AFAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#AFAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFD
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFD#FFFFFF#000000##000000
##AFAFFD1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#95B4FB
Tritanopia (blue-blind)
#9BBDCB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afaffd;
/* rgb */ color: rgb(175, 175, 253);
/* oklch */ color: oklch(78.3% 0.110 283.6);
Tailwind
colors: {
  custom: {
    50: '#c8c6fe',
    500: '#afaffd',
    950: '#000000',
  },
}
SCSS
$custom: #afaffd;
$custom-light: #c8c6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afaffd",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 240,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.78326,
    "c": 0.11036,
    "h": 283.6
  },
  "luminance": 0.46866
}

Semantic roles & 50–950 ramp

primary
#AFAFFD
secondary
#F6F6D5
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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