#AFACFC#AFACFC

#AFACFC is a light, moderate blue. Relative luminance 0.456; OKLCH L 77.7% C 0.113 H 285.2°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFACFC
RGBrgb(175, 172, 252)
HSLhsl(242, 93%, 83%)
HSVhsv(242, 32%, 99%)
CMYKcmyk(30.6%, 31.7%, 0%, 1.2%)
CIE-LABlab(73.32, 18.64, -39.28)
CIE-LCHlch(73.32, 43.48, 295.39°)
OKLaboklab(77.71% 0.0296 -0.1092)
OKLCHoklch(77.71% 0.113 285.2)
XYZxyz(49.9978, 45.6460, 98.2529)
Luminance0.4565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACFC #F9FCAC
analogous
#ACD1FC #AFACFC #D7ACFC
triadic
#AFACFC #FCAFAC #ACFCAF
tetradic
#AFACFC #FCACD1 #F9FCAC #ACFCD7
square
#AFACFC #FCACD1 #F9FCAC #ACFCD7
split-complementary
#AFACFC #FCD7AC #D1FCAC
monochromatic
#3D36F8 #7671FA #AFACFC #E3E1FE #E3E1FE

Accessibility & contrast

On white

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

On black

10.13
#AFACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACFC
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACFC#FFFFFF#000000##000000
##AFACFC1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#9CBBC9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afacfc;
/* rgb */ color: rgb(175, 172, 252);
/* oklch */ color: oklch(77.7% 0.113 285.2);
Tailwind
colors: {
  custom: {
    50: '#c8c4fd',
    500: '#afacfc',
    950: '#000000',
  },
}
SCSS
$custom: #afacfc;
$custom-light: #c8c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afacfc",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 242.25,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.77705,
    "c": 0.11319,
    "h": 285.2
  },
  "luminance": 0.45647
}

Semantic roles & 50–950 ramp

primary
#AFACFC
secondary
#F5F6D5
accent
#E600DD
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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