#AFA9FB#AFA9FB

#AFA9FB is a light, moderate blue. Relative luminance 0.445; OKLCH L 77.1% C 0.116 H 286.7°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#AFA9FB
RGBrgb(175, 169, 251)
HSLhsl(244, 91%, 82%)
HSVhsv(244, 33%, 98%)
CMYKcmyk(30.3%, 32.7%, 0%, 1.6%)
CIE-LABlab(72.53, 20.07, -39.96)
CIE-LCHlch(72.53, 44.71, 296.67°)
OKLaboklab(77.09% 0.0333 -0.1112)
OKLCHoklch(77.09% 0.116 286.7)
XYZxyz(49.2752, 44.4537, 97.2324)
Luminance0.4446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FB #F5FBA9
analogous
#A9CCFB #AFA9FB #D8A9FB
triadic
#AFA9FB #FBAFA9 #A9FBAF
tetradic
#AFA9FB #FBA9CC #F5FBA9 #A9FBD8
square
#AFA9FB #FBA9CC #F5FBA9 #A9FBD8
split-complementary
#AFA9FB #FBD8A9 #CCFBA9
monochromatic
#4234F6 #796FF8 #AFA9FB #E4E2FE #E4E2FE

Accessibility & contrast

On white

2.12
#AFA9FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#AFA9FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FB#FFFFFF#000000##000000
##AFA9FB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FE
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#9DB8C7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9fb;
/* rgb */ color: rgb(175, 169, 251);
/* oklch */ color: oklch(77.1% 0.116 286.7);
Tailwind
colors: {
  custom: {
    50: '#c9c2fd',
    500: '#afa9fb',
    950: '#000000',
  },
}
SCSS
$custom: #afa9fb;
$custom-light: #c9c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9fb",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 251
  },
  "hsl": {
    "h": 244.39,
    "s": 91.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77088,
    "c": 0.1161,
    "h": 286.7
  },
  "luminance": 0.44455
}

Semantic roles & 50–950 ramp

primary
#AFA9FB
secondary
#F3F6D5
accent
#E600D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9FB

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

Preview Lab → · Contrast checker → · Palette generator →

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