#AFA4FC#AFA4FC

#AFA4FC is a light, vivid blue. Relative luminance 0.427; OKLCH L 76.2% C 0.125 H 288.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#AFA4FC
RGBrgb(175, 164, 252)
HSLhsl(248, 94%, 82%)
HSVhsv(248, 35%, 99%)
CMYKcmyk(30.6%, 34.9%, 0%, 1.2%)
CIE-LABlab(71.35, 23.12, -42.35)
CIE-LCHlch(71.35, 48.25, 298.63°)
OKLaboklab(76.19% 0.0402 -0.1181)
OKLCHoklch(76.19% 0.125 288.8)
XYZxyz(48.5208, 42.6921, 97.7606)
Luminance0.4269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4FC #F1FCA4
analogous
#A4C5FC #AFA4FC #DBA4FC
triadic
#AFA4FC #FCAFA4 #A4FCAF
tetradic
#AFA4FC #FCA4C5 #F1FCA4 #A4FCDB
square
#AFA4FC #FCA4C5 #F1FCA4 #A4FCDB
split-complementary
#AFA4FC #FCDBA4 #C5FCA4
monochromatic
#472EF8 #7B69FA #AFA4FC #E3DFFE #E5E1FE

Accessibility & contrast

On white

2.20
#AFA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#AFA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4FC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4FC#FFFFFF#000000##000000
##AFA4FC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#9DB4C4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afa4fc;
/* rgb */ color: rgb(175, 164, 252);
/* oklch */ color: oklch(76.2% 0.125 288.8);
Tailwind
colors: {
  custom: {
    50: '#c9bffd',
    500: '#afa4fc',
    950: '#000000',
  },
}
SCSS
$custom: #afa4fc;
$custom-light: #c9bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4fc",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 247.5,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76193,
    "c": 0.12476,
    "h": 288.8
  },
  "luminance": 0.42693
}

Semantic roles & 50–950 ramp

primary
#AFA4FC
secondary
#F2F6D5
accent
#E600C9
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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