#AFABFA#AFABFA

#AFABFA is a light, moderate blue. Relative luminance 0.451; OKLCH L 77.4% C 0.112 H 285.8°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#AFABFA
RGBrgb(175, 171, 250)
HSLhsl(243, 89%, 83%)
HSVhsv(243, 32%, 98%)
CMYKcmyk(30%, 31.6%, 0%, 2%)
CIE-LABlab(72.98, 18.70, -38.71)
CIE-LCHlch(72.98, 42.99, 295.79°)
OKLaboklab(77.42% 0.0304 -0.1076)
OKLCHoklch(77.42% 0.112 285.8)
XYZxyz(49.4929, 45.1407, 96.5293)
Luminance0.4514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABFA #F6FAAB
analogous
#ABCEFA #AFABFA #D6ABFA
triadic
#AFABFA #FAAFAB #ABFAAF
tetradic
#AFABFA #FAABCE #F6FAAB #ABFAD6
square
#AFABFA #FAABCE #F6FAAB #ABFAD6
split-complementary
#AFABFA #FAD6AB #CEFAAB
monochromatic
#4137F3 #7871F7 #AFABFA #E3E2FD #E3E2FD

Accessibility & contrast

On white

2.09
#AFABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#AFABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABFA
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABFA#FFFFFF#000000##000000
##AFABFA1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#9DB9C7
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afabfa;
/* rgb */ color: rgb(175, 171, 250);
/* oklch */ color: oklch(77.4% 0.112 285.8);
Tailwind
colors: {
  custom: {
    50: '#c8c4fc',
    500: '#afabfa',
    950: '#000000',
  },
}
SCSS
$custom: #afabfa;
$custom-light: #c8c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afabfa",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 243.038,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77423,
    "c": 0.11184,
    "h": 285.8
  },
  "luminance": 0.45142
}

Semantic roles & 50–950 ramp

primary
#AFABFA
secondary
#F4F5D6
accent
#E500DA
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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