#AFA3FC#AFA3FC

#AFA3FC is a light, vivid blue. Relative luminance 0.423; OKLCH L 76.0% C 0.126 H 289.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#AFA3FC
RGBrgb(175, 163, 252)
HSLhsl(248, 94%, 81%)
HSVhsv(248, 35%, 99%)
CMYKcmyk(30.6%, 35.3%, 0%, 1.2%)
CIE-LABlab(71.10, 23.68, -42.73)
CIE-LCHlch(71.10, 48.85, 298.99°)
OKLaboklab(76.01% 0.0415 -0.1192)
OKLCHoklch(76.01% 0.126 289.2)
XYZxyz(48.3425, 42.3356, 97.7012)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FC #F0FCA3
analogous
#A3C4FC #AFA3FC #DCA3FC
triadic
#AFA3FC #FCAFA3 #A3FCAF
tetradic
#AFA3FC #FCA3C4 #F0FCA3 #A3FCDC
square
#AFA3FC #FCA3C4 #F0FCA3 #A3FCDC
split-complementary
#AFA3FC #FCDCA3 #C4FCA3
monochromatic
#482CF8 #7B68FA #AFA3FC #E3DEFE #E5E1FE

Accessibility & contrast

On white

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

On black

9.47
#AFA3FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FC#FFFFFF#000000##000000
##AFA3FC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa3fc;
/* rgb */ color: rgb(175, 163, 252);
/* oklch */ color: oklch(76.0% 0.126 289.2);
Tailwind
colors: {
  custom: {
    50: '#c9befd',
    500: '#afa3fc',
    950: '#000000',
  },
}
SCSS
$custom: #afa3fc;
$custom-light: #c9befd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3fc",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 252
  },
  "hsl": {
    "h": 248.09,
    "s": 93.684,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76006,
    "c": 0.12623,
    "h": 289.2
  },
  "luminance": 0.42337
}

Semantic roles & 50–950 ramp

primary
#AFA3FC
secondary
#F2F6D5
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA3FC

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

Preview Lab → · Contrast checker → · Palette generator →

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