#AFACFF#AFACFF

#AFACFF is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.8% C 0.117 H 285.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#AFACFF
RGBrgb(175, 172, 255)
HSLhsl(242, 100%, 84%)
HSVhsv(242, 33%, 100%)
CMYKcmyk(31.4%, 32.5%, 0%, 0%)
CIE-LABlab(73.44, 19.39, -40.70)
CIE-LCHlch(73.44, 45.08, 295.47°)
OKLaboklab(77.84% 0.0303 -0.1134)
OKLCHoklch(77.84% 0.117 285)
XYZxyz(50.4769, 45.8377, 100.7764)
Luminance0.4584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACFF #FCFFAC
analogous
#ACD2FF #AFACFF #D8ACFF
triadic
#AFACFF #FFAFAC #ACFFAF
tetradic
#AFACFF #FFACD2 #FCFFAC #ACFFD8
square
#AFACFF #FFACD2 #FCFFAC #ACFFD8
split-complementary
#AFACFF #FFD8AC #D2FFAC
monochromatic
#3932FF #746FFF #AFACFF #E2E0FF #E2E0FF

Accessibility & contrast

On white

2.07
#AFACFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#AFACFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACFF
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACFF#FFFFFF#000000##000000
##AFACFF1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B7FF
Deuteranopia (green-blind)
#91B2FD
Tritanopia (blue-blind)
#9BBBCA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afacff;
/* rgb */ color: rgb(175, 172, 255);
/* oklch */ color: oklch(77.8% 0.117 285.0);
Tailwind
colors: {
  custom: {
    50: '#c9c4ff',
    500: '#afacff',
    950: '#000000',
  },
}
SCSS
$custom: #afacff;
$custom-light: #c9c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afacff",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 255
  },
  "hsl": {
    "h": 242.169,
    "s": 100,
    "l": 83.725
  },
  "oklch": {
    "l": 0.77842,
    "c": 0.11735,
    "h": 285
  },
  "luminance": 0.45839
}

Semantic roles & 50–950 ramp

primary
#AFACFF
secondary
#F6F7D4
accent
#E600DD
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFACFF

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

Preview Lab → · Contrast checker → · Palette generator →

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