#AFAFFE#AFAFFE

#AFAFFE is a light, moderate blue. Relative luminance 0.469; OKLCH L 78.4% C 0.112 H 283.5°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#AFAFFE
RGBrgb(175, 175, 254)
HSLhsl(240, 98%, 84%)
HSVhsv(240, 31%, 100%)
CMYKcmyk(31.1%, 31.1%, 0%, 0.4%)
CIE-LABlab(74.14, 17.47, -39.07)
CIE-LCHlch(74.14, 42.79, 294.09°)
OKLaboklab(78.37% 0.0261 -0.1086)
OKLCHoklch(78.37% 0.112 283.5)
XYZxyz(50.8938, 46.9283, 100.1233)
Luminance0.4693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFE #FEFEAF
analogous
#AFD7FE #AFAFFE #D7AFFE
triadic
#AFAFFE #FEAFAF #AFFEAF
tetradic
#AFAFFE #FEAFD7 #FEFEAF #AFFED7
square
#AFAFFE #FEAFD7 #FEFEAF #AFFED7
split-complementary
#AFAFFE #FED7AF #D7FEAF
monochromatic
#3636FC #7373FD #AFAFFE #E1E1FF #E1E1FF

Accessibility & contrast

On white

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

On black

10.39
#AFAFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFE
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFE#FFFFFF#000000##000000
##AFAFFE1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaffe;
/* rgb */ color: rgb(175, 175, 254);
/* oklch */ color: oklch(78.4% 0.112 283.5);
Tailwind
colors: {
  custom: {
    50: '#c9c6ff',
    500: '#afaffe',
    950: '#000000',
  },
}
SCSS
$custom: #afaffe;
$custom-light: #c9c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afaffe",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 240,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.78371,
    "c": 0.11175,
    "h": 283.5
  },
  "luminance": 0.4693
}

Semantic roles & 50–950 ramp

primary
#AFAFFE
secondary
#F7F7D4
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFAFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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