#AFA3FE#AFA3FE

#AFA3FE is a light, vivid blue. Relative luminance 0.425; OKLCH L 76.1% C 0.129 H 289.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#AFA3FE
RGBrgb(175, 163, 254)
HSLhsl(248, 98%, 82%)
HSVhsv(248, 36%, 100%)
CMYKcmyk(31.1%, 35.8%, 0%, 0.4%)
CIE-LABlab(71.19, 24.18, -43.68)
CIE-LCHlch(71.19, 49.92, 298.97°)
OKLaboklab(76.1% 0.042 -0.1219)
OKLCHoklch(76.1% 0.129 289)
XYZxyz(48.6611, 42.4630, 99.3791)
Luminance0.4246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FE #F2FEA3
analogous
#A3C5FE #AFA3FE #DDA3FE
triadic
#AFA3FE #FEAFA3 #A3FEAF
tetradic
#AFA3FE #FEA3C5 #F2FEA3 #A3FEDD
square
#AFA3FE #FEA3C5 #F2FEA3 #A3FEDD
split-complementary
#AFA3FE #FEDDA3 #C5FEA3
monochromatic
#462AFD #7A66FD #AFA3FE #E4E0FF #E5E1FF

Accessibility & contrast

On white

2.21
#AFA3FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#AFA3FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FE#FFFFFF#000000##000000
##AFA3FE1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#9CB3C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3fe;
/* rgb */ color: rgb(175, 163, 254);
/* oklch */ color: oklch(76.1% 0.129 289.0);
Tailwind
colors: {
  custom: {
    50: '#c9beff',
    500: '#afa3fe',
    950: '#000000',
  },
}
SCSS
$custom: #afa3fe;
$custom-light: #c9beff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3fe",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 254
  },
  "hsl": {
    "h": 247.912,
    "s": 97.849,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76101,
    "c": 0.12896,
    "h": 289
  },
  "luminance": 0.42464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA3FE

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

Preview Lab → · Contrast checker → · Palette generator →

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