#AFA3FB#AFA3FB

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

Color values

HEX#AFA3FB
RGBrgb(175, 163, 251)
HSLhsl(248, 92%, 81%)
HSVhsv(248, 35%, 98%)
CMYKcmyk(30.3%, 35.1%, 0%, 1.6%)
CIE-LABlab(71.06, 23.43, -42.26)
CIE-LCHlch(71.06, 48.32, 299.01°)
OKLaboklab(75.96% 0.0413 -0.1178)
OKLCHoklch(75.96% 0.125 289.3)
XYZxyz(48.1845, 42.2723, 96.8688)
Luminance0.4227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3FB #EFFBA3
analogous
#A3C3FB #AFA3FB #DBA3FB
triadic
#AFA3FB #FBAFA3 #A3FBAF
tetradic
#AFA3FB #FBA3C3 #EFFBA3 #A3FBDB
square
#AFA3FB #FBA3C3 #EFFBA3 #A3FBDB
split-complementary
#AFA3FB #FBDBA3 #C3FBA3
monochromatic
#492EF6 #7C68F8 #AFA3FB #E2DEFE #E6E2FE

Accessibility & contrast

On white

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

On black

9.45
#AFA3FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3FB
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3FB#FFFFFF#000000##000000
##AFA3FB1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB0FF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#9DB3C3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afa3fb;
/* rgb */ color: rgb(175, 163, 251);
/* oklch */ color: oklch(76.0% 0.125 289.3);
Tailwind
colors: {
  custom: {
    50: '#c9befd',
    500: '#afa3fb',
    950: '#000000',
  },
}
SCSS
$custom: #afa3fb;
$custom-light: #c9befd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3fb",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 251
  },
  "hsl": {
    "h": 248.182,
    "s": 91.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.12486,
    "h": 289.3
  },
  "luminance": 0.42273
}

Semantic roles & 50–950 ramp

primary
#AFA3FB
secondary
#F1F6D5
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3FB

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

Preview Lab → · Contrast checker → · Palette generator →

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