#AFAFFC#AFAFFC

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

Color values

HEX#AFAFFC
RGBrgb(175, 175, 252)
HSLhsl(240, 93%, 84%)
HSVhsv(240, 31%, 99%)
CMYKcmyk(30.6%, 30.6%, 0%, 1.2%)
CIE-LABlab(74.06, 16.97, -38.11)
CIE-LCHlch(74.06, 41.72, 294.00°)
OKLaboklab(78.28% 0.0256 -0.1059)
OKLCHoklch(78.28% 0.109 283.6)
XYZxyz(50.5752, 46.8008, 98.4454)
Luminance0.4680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFC #FCFCAF
analogous
#AFD5FC #AFAFFC #D5AFFC
triadic
#AFAFFC #FCAFAF #AFFCAF
tetradic
#AFAFFC #FCAFD5 #FCFCAF #AFFCD5
square
#AFAFFC #FCAFD5 #FCFCAF #AFFCD5
split-complementary
#AFAFFC #FCD5AF #D5FCAF
monochromatic
#3939F8 #7474FA #AFAFFC #E2E2FE #E2E2FE

Accessibility & contrast

On white

2.03
#AFAFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#AFAFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFC
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFC#FFFFFF#000000##000000
##AFAFFC1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#9CBDCB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afaffc;
/* rgb */ color: rgb(175, 175, 252);
/* oklch */ color: oklch(78.3% 0.109 283.6);
Tailwind
colors: {
  custom: {
    50: '#c8c6fd',
    500: '#afaffc',
    950: '#000000',
  },
}
SCSS
$custom: #afaffc;
$custom-light: #c8c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaffc",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 240,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.78281,
    "c": 0.10897,
    "h": 283.6
  },
  "luminance": 0.46802
}

Semantic roles & 50–950 ramp

primary
#AFAFFC
secondary
#F6F6D5
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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