#AFA9FE#AFA9FE

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

Color values

HEX#AFA9FE
RGBrgb(175, 169, 254)
HSLhsl(244, 98%, 83%)
HSVhsv(244, 33%, 100%)
CMYKcmyk(31.1%, 33.5%, 0%, 0.4%)
CIE-LABlab(72.66, 20.82, -41.38)
CIE-LCHlch(72.66, 46.32, 296.70°)
OKLaboklab(77.23% 0.034 -0.1153)
OKLCHoklch(77.23% 0.12 286.5)
XYZxyz(49.7518, 44.6444, 99.7427)
Luminance0.4465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FE #F8FEA9
analogous
#A9CDFE #AFA9FE #D9A9FE
triadic
#AFA9FE #FEAFA9 #A9FEAF
tetradic
#AFA9FE #FEA9CD #F8FEA9 #A9FED9
square
#AFA9FE #FEA9CD #F8FEA9 #A9FED9
split-complementary
#AFA9FE #FED9A9 #CDFEA9
monochromatic
#3E30FD #776DFD #AFA9FE #E3E1FF #E3E1FF

Accessibility & contrast

On white

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

On black

9.93
#AFA9FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FE
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FE#FFFFFF#000000##000000
##AFA9FE1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afa9fe;
/* rgb */ color: rgb(175, 169, 254);
/* oklch */ color: oklch(77.2% 0.120 286.5);
Tailwind
colors: {
  custom: {
    50: '#c9c2ff',
    500: '#afa9fe',
    950: '#000000',
  },
}
SCSS
$custom: #afa9fe;
$custom-light: #c9c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9fe",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 254
  },
  "hsl": {
    "h": 244.235,
    "s": 97.701,
    "l": 82.941
  },
  "oklch": {
    "l": 0.77227,
    "c": 0.12024,
    "h": 286.5
  },
  "luminance": 0.44646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFA9FE

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

Preview Lab → · Contrast checker → · Palette generator →

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