#AFA9FD#AFA9FD

#AFA9FD is a light, moderate blue. Relative luminance 0.446; OKLCH L 77.2% C 0.119 H 286.5°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#AFA9FD
RGBrgb(175, 169, 253)
HSLhsl(244, 95%, 83%)
HSVhsv(244, 33%, 99%)
CMYKcmyk(30.8%, 33.2%, 0%, 0.8%)
CIE-LABlab(72.61, 20.57, -40.91)
CIE-LCHlch(72.61, 45.79, 296.69°)
OKLaboklab(77.18% 0.0338 -0.1139)
OKLCHoklch(77.18% 0.119 286.5)
XYZxyz(49.5921, 44.5805, 98.9015)
Luminance0.4458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FD #F7FDA9
analogous
#A9CDFD #AFA9FD #D9A9FD
triadic
#AFA9FD #FDAFA9 #A9FDAF
tetradic
#AFA9FD #FDA9CD #F7FDA9 #A9FDD9
square
#AFA9FD #FDA9CD #F7FDA9 #A9FDD9
split-complementary
#AFA9FD #FDD9A9 #CDFDA9
monochromatic
#4031FA #776DFC #AFA9FD #E3E1FE #E3E1FE

Accessibility & contrast

On white

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

On black

9.92
#AFA9FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FD#FFFFFF#000000##000000
##AFA9FD1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#9CB8C8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9fd;
/* rgb */ color: rgb(175, 169, 253);
/* oklch */ color: oklch(77.2% 0.119 286.5);
Tailwind
colors: {
  custom: {
    50: '#c9c2fe',
    500: '#afa9fd',
    950: '#000000',
  },
}
SCSS
$custom: #afa9fd;
$custom-light: #c9c2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9fd",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 253
  },
  "hsl": {
    "h": 244.286,
    "s": 95.455,
    "l": 82.745
  },
  "oklch": {
    "l": 0.7718,
    "c": 0.11886,
    "h": 286.5
  },
  "luminance": 0.44582
}

Semantic roles & 50–950 ramp

primary
#AFA9FD
secondary
#F4F7D4
accent
#E600D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA9FD

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

Preview Lab → · Contrast checker → · Palette generator →

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