#AFA9FF#AFA9FF

#AFA9FF is a light, vivid blue. Relative luminance 0.447; OKLCH L 77.3% C 0.122 H 286.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#AFA9FF
RGBrgb(175, 169, 255)
HSLhsl(244, 100%, 83%)
HSVhsv(244, 34%, 100%)
CMYKcmyk(31.4%, 33.7%, 0%, 0%)
CIE-LABlab(72.70, 21.07, -41.86)
CIE-LCHlch(72.70, 46.86, 296.72°)
OKLaboklab(77.27% 0.0343 -0.1167)
OKLCHoklch(77.27% 0.122 286.4)
XYZxyz(49.9124, 44.7086, 100.5882)
Luminance0.4471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FF #F9FFA9
analogous
#A9CEFF #AFA9FF #DAA9FF
triadic
#AFA9FF #FFAFA9 #A9FFAF
tetradic
#AFA9FF #FFA9CE #F9FFA9 #A9FFDA
square
#AFA9FF #FFA9CE #F9FFA9 #A9FFDA
split-complementary
#AFA9FF #FFDAA9 #CEFFA9
monochromatic
#3D2FFF #766CFF #AFA9FF #E3E0FF #E3E0FF

Accessibility & contrast

On white

2.11
#AFA9FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#AFA9FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FF#FFFFFF#000000##000000
##AFA9FF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B5FF
Deuteranopia (green-blind)
#8EB0FD
Tritanopia (blue-blind)
#9BB9C8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9ff;
/* rgb */ color: rgb(175, 169, 255);
/* oklch */ color: oklch(77.3% 0.122 286.4);
Tailwind
colors: {
  custom: {
    50: '#c9c2ff',
    500: '#afa9ff',
    950: '#000000',
  },
}
SCSS
$custom: #afa9ff;
$custom-light: #c9c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9ff",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 255
  },
  "hsl": {
    "h": 244.186,
    "s": 100,
    "l": 83.137
  },
  "oklch": {
    "l": 0.77273,
    "c": 0.12161,
    "h": 286.4
  },
  "luminance": 0.4471
}

Semantic roles & 50–950 ramp

primary
#AFA9FF
secondary
#F5F7D4
accent
#E600D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFA9FF

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

Preview Lab → · Contrast checker → · Palette generator →

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