#AFA3FD#AFA3FD

#AFA3FD is a light, vivid blue. Relative luminance 0.424; OKLCH L 76.1% C 0.128 H 289.1°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#AFA3FD
RGBrgb(175, 163, 253)
HSLhsl(248, 96%, 82%)
HSVhsv(248, 36%, 99%)
CMYKcmyk(30.8%, 35.6%, 0%, 0.8%)
CIE-LABlab(71.15, 23.93, -43.20)
CIE-LCHlch(71.15, 49.39, 298.98°)
OKLaboklab(76.05% 0.0418 -0.1206)
OKLCHoklch(76.05% 0.128 289.1)
XYZxyz(48.5014, 42.3991, 98.5379)
Luminance0.4240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FD #F1FDA3
analogous
#A3C4FD #AFA3FD #DCA3FD
triadic
#AFA3FD #FDAFA3 #A3FDAF
tetradic
#AFA3FD #FDA3C4 #F1FDA3 #A3FDDC
square
#AFA3FD #FDA3C4 #F1FDA3 #A3FDDC
split-complementary
#AFA3FD #FDDCA3 #C4FDA3
monochromatic
#472BFA #7B67FC #AFA3FD #E3DFFE #E5E1FE

Accessibility & contrast

On white

2.22
#AFA3FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#AFA3FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FD
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FD#FFFFFF#000000##000000
##AFA3FD1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#89ACFB
Tritanopia (blue-blind)
#9CB3C4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3fd;
/* rgb */ color: rgb(175, 163, 253);
/* oklch */ color: oklch(76.1% 0.128 289.1);
Tailwind
colors: {
  custom: {
    50: '#c9befe',
    500: '#afa3fd',
    950: '#000000',
  },
}
SCSS
$custom: #afa3fd;
$custom-light: #c9befe;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3fd",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 253
  },
  "hsl": {
    "h": 248,
    "s": 95.745,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76054,
    "c": 0.1276,
    "h": 289.1
  },
  "luminance": 0.424
}

Semantic roles & 50–950 ramp

primary
#AFA3FD
secondary
#F2F7D4
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA3FD

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

Preview Lab → · Contrast checker → · Palette generator →

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