#AFA4FB#AFA4FB

#AFA4FB is a light, vivid blue. Relative luminance 0.426; OKLCH L 76.1% C 0.123 H 288.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#AFA4FB
RGBrgb(175, 164, 251)
HSLhsl(248, 92%, 81%)
HSVhsv(248, 35%, 98%)
CMYKcmyk(30.3%, 34.7%, 0%, 1.6%)
CIE-LABlab(71.30, 22.87, -41.87)
CIE-LCHlch(71.30, 47.71, 298.64°)
OKLaboklab(76.15% 0.04 -0.1167)
OKLCHoklch(76.15% 0.123 288.9)
XYZxyz(48.3627, 42.6289, 96.9282)
Luminance0.4263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA4FB #F0FBA4
analogous
#A4C5FB #AFA4FB #DBA4FB
triadic
#AFA4FB #FBAFA4 #A4FBAF
tetradic
#AFA4FB #FBA4C5 #F0FBA4 #A4FBDB
square
#AFA4FB #FBA4C5 #F0FBA4 #A4FBDB
split-complementary
#AFA4FB #FBDBA4 #C5FBA4
monochromatic
#482FF6 #7B69F8 #AFA4FB #E3DFFE #E5E2FE

Accessibility & contrast

On white

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

On black

9.53
#AFA4FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA4FB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA4FB#FFFFFF#000000##000000
##AFA4FB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa4fb;
/* rgb */ color: rgb(175, 164, 251);
/* oklch */ color: oklch(76.1% 0.123 288.9);
Tailwind
colors: {
  custom: {
    50: '#c9bffd',
    500: '#afa4fb',
    950: '#000000',
  },
}
SCSS
$custom: #afa4fb;
$custom-light: #c9bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa4fb",
  "rgb": {
    "r": 175,
    "g": 164,
    "b": 251
  },
  "hsl": {
    "h": 247.586,
    "s": 91.579,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76145,
    "c": 0.12339,
    "h": 288.9
  },
  "luminance": 0.4263
}

Semantic roles & 50–950 ramp

primary
#AFA4FB
secondary
#F2F6D5
accent
#E600C8
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA4FB

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

Preview Lab → · Contrast checker → · Palette generator →

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