#AFA9F9#AFA9F9

#AFA9F9 is a light, moderate blue. Relative luminance 0.443; OKLCH L 77.0% C 0.113 H 286.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#AFA9F9
RGBrgb(175, 169, 249)
HSLhsl(245, 87%, 82%)
HSVhsv(245, 32%, 98%)
CMYKcmyk(29.7%, 32.1%, 0%, 2.4%)
CIE-LABlab(72.45, 19.57, -39.00)
CIE-LCHlch(72.45, 43.64, 296.65°)
OKLaboklab(77% 0.0329 -0.1085)
OKLCHoklch(77% 0.113 286.8)
XYZxyz(48.9616, 44.3283, 95.5808)
Luminance0.4433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9F9 #F3F9A9
analogous
#A9CBF9 #AFA9F9 #D7A9F9
triadic
#AFA9F9 #F9AFA9 #A9F9AF
tetradic
#AFA9F9 #F9A9CB #F3F9A9 #A9F9D7
square
#AFA9F9 #F9A9CB #F3F9A9 #A9F9D7
split-complementary
#AFA9F9 #F9D7A9 #CBF9A9
monochromatic
#4537F1 #7A70F5 #AFA9F9 #E4E2FD #E4E2FD

Accessibility & contrast

On white

2.13
#AFA9F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#AFA9F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9F9
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9F9#FFFFFF#000000##000000
##AFA9F91.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FC
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#9DB7C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9f9;
/* rgb */ color: rgb(175, 169, 249);
/* oklch */ color: oklch(77.0% 0.113 286.8);
Tailwind
colors: {
  custom: {
    50: '#c8c2fb',
    500: '#afa9f9',
    950: '#000000',
  },
}
SCSS
$custom: #afa9f9;
$custom-light: #c8c2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9f9",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 249
  },
  "hsl": {
    "h": 244.5,
    "s": 86.957,
    "l": 81.961
  },
  "oklch": {
    "l": 0.76997,
    "c": 0.11334,
    "h": 286.8
  },
  "luminance": 0.44329
}

Semantic roles & 50–950 ramp

primary
#AFA9F9
secondary
#F3F5D6
accent
#E402D3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9F9

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

Preview Lab → · Contrast checker → · Palette generator →

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