#AFABFE#AFABFE

#AFABFE is a light, moderate blue. Relative luminance 0.454; OKLCH L 77.6% C 0.117 H 285.5°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFABFE
RGBrgb(175, 171, 254)
HSLhsl(243, 98%, 83%)
HSVhsv(243, 33%, 100%)
CMYKcmyk(31.1%, 32.7%, 0%, 0.4%)
CIE-LABlab(73.15, 19.70, -40.61)
CIE-LCHlch(73.15, 45.14, 295.87°)
OKLaboklab(77.61% 0.0314 -0.1131)
OKLCHoklch(77.61% 0.117 285.5)
XYZxyz(50.1267, 45.3942, 99.8676)
Luminance0.4540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABFE #FAFEAB
analogous
#ABD0FE #AFABFE #D8ABFE
triadic
#AFABFE #FEAFAB #ABFEAF
tetradic
#AFABFE #FEABD0 #FAFEAB #ABFED8
square
#AFABFE #FEABD0 #FAFEAB #ABFED8
split-complementary
#AFABFE #FED8AB #D0FEAB
monochromatic
#3C32FD #756FFD #AFABFE #E2E1FF #E2E1FF

Accessibility & contrast

On white

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

On black

10.08
#AFABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABFE
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABFE#FFFFFF#000000##000000
##AFABFE1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#91B1FC
Tritanopia (blue-blind)
#9BBAC9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afabfe;
/* rgb */ color: rgb(175, 171, 254);
/* oklch */ color: oklch(77.6% 0.117 285.5);
Tailwind
colors: {
  custom: {
    50: '#c9c4ff',
    500: '#afabfe',
    950: '#000000',
  },
}
SCSS
$custom: #afabfe;
$custom-light: #c9c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afabfe",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 242.892,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.77606,
    "c": 0.11738,
    "h": 285.5
  },
  "luminance": 0.45396
}

Semantic roles & 50–950 ramp

primary
#AFABFE
secondary
#F5F7D4
accent
#E600DA
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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