#AFA9FA#AFA9FA

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

Color values

HEX#AFA9FA
RGBrgb(175, 169, 250)
HSLhsl(244, 89%, 82%)
HSVhsv(244, 32%, 98%)
CMYKcmyk(30%, 32.4%, 0%, 2%)
CIE-LABlab(72.49, 19.82, -39.48)
CIE-LCHlch(72.49, 44.18, 296.66°)
OKLaboklab(77.04% 0.0331 -0.1098)
OKLCHoklch(77.04% 0.115 286.8)
XYZxyz(49.1180, 44.3909, 96.4044)
Luminance0.4439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FA #F4FAA9
analogous
#A9CCFA #AFA9FA #D7A9FA
triadic
#AFA9FA #FAAFA9 #A9FAAF
tetradic
#AFA9FA #FAA9CC #F4FAA9 #A9FAD7
square
#AFA9FA #FAA9CC #F4FAA9 #A9FAD7
split-complementary
#AFA9FA #FAD7A9 #CCFAA9
monochromatic
#4335F3 #796FF7 #AFA9FA #E4E2FD #E4E2FD

Accessibility & contrast

On white

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

On black

9.88
#AFA9FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FA
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FA#FFFFFF#000000##000000
##AFA9FA1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#90B0F8
Tritanopia (blue-blind)
#9DB8C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9fa;
/* rgb */ color: rgb(175, 169, 250);
/* oklch */ color: oklch(77.0% 0.115 286.8);
Tailwind
colors: {
  custom: {
    50: '#c8c2fc',
    500: '#afa9fa',
    950: '#000000',
  },
}
SCSS
$custom: #afa9fa;
$custom-light: #c8c2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9fa",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 250
  },
  "hsl": {
    "h": 244.444,
    "s": 89.011,
    "l": 82.157
  },
  "oklch": {
    "l": 0.77042,
    "c": 0.11472,
    "h": 286.8
  },
  "luminance": 0.44392
}

Semantic roles & 50–950 ramp

primary
#AFA9FA
secondary
#F3F5D6
accent
#E600D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9FA

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

Preview Lab → · Contrast checker → · Palette generator →

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