#AFACFA#AFACFA

#AFACFA is a light, moderate blue. Relative luminance 0.455; OKLCH L 77.6% C 0.110 H 285.3°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#AFACFA
RGBrgb(175, 172, 250)
HSLhsl(242, 89%, 83%)
HSVhsv(242, 31%, 98%)
CMYKcmyk(30%, 31.2%, 0%, 2%)
CIE-LABlab(73.23, 18.15, -38.32)
CIE-LCHlch(73.23, 42.40, 295.34°)
OKLaboklab(77.61% 0.0291 -0.1065)
OKLCHoklch(77.61% 0.11 285.3)
XYZxyz(49.6825, 45.5199, 96.5925)
Luminance0.4552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFACFA #F7FAAC
analogous
#ACD0FA #AFACFA #D6ACFA
triadic
#AFACFA #FAAFAC #ACFAAF
tetradic
#AFACFA #FAACD0 #F7FAAC #ACFAD6
square
#AFACFA #FAACD0 #F7FAAC #ACFAD6
split-complementary
#AFACFA #FAD6AC #D0FAAC
monochromatic
#4039F3 #7772F7 #AFACFA #E3E2FD #E3E2FD

Accessibility & contrast

On white

2.08
#AFACFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#AFACFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFACFA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFACFA#FFFFFF#000000##000000
##AFACFA1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#9DBAC8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afacfa;
/* rgb */ color: rgb(175, 172, 250);
/* oklch */ color: oklch(77.6% 0.110 285.3);
Tailwind
colors: {
  custom: {
    50: '#c8c4fc',
    500: '#afacfa',
    950: '#000000',
  },
}
SCSS
$custom: #afacfa;
$custom-light: #c8c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afacfa",
  "rgb": {
    "r": 175,
    "g": 172,
    "b": 250
  },
  "hsl": {
    "h": 242.308,
    "s": 88.636,
    "l": 82.745
  },
  "oklch": {
    "l": 0.77615,
    "c": 0.11041,
    "h": 285.3
  },
  "luminance": 0.45521
}

Semantic roles & 50–950 ramp

primary
#AFACFA
secondary
#F4F5D6
accent
#E500DC
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFACFA

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

Preview Lab → · Contrast checker → · Palette generator →

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