#AFA9FC#AFA9FC

#AFA9FC is a light, moderate blue. Relative luminance 0.445; OKLCH L 77.1% C 0.117 H 286.6°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#AFA9FC
RGBrgb(175, 169, 252)
HSLhsl(244, 93%, 83%)
HSVhsv(244, 33%, 99%)
CMYKcmyk(30.6%, 32.9%, 0%, 1.2%)
CIE-LABlab(72.57, 20.32, -40.43)
CIE-LCHlch(72.57, 45.25, 296.68°)
OKLaboklab(77.13% 0.0336 -0.1126)
OKLCHoklch(77.13% 0.117 286.6)
XYZxyz(49.4332, 44.5170, 98.0647)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA9FC #F6FCA9
analogous
#A9CDFC #AFA9FC #D8A9FC
triadic
#AFA9FC #FCAFA9 #A9FCAF
tetradic
#AFA9FC #FCA9CD #F6FCA9 #A9FCD8
square
#AFA9FC #FCA9CD #F6FCA9 #A9FCD8
split-complementary
#AFA9FC #FCD8A9 #CDFCA9
monochromatic
#4133F8 #786EFA #AFA9FC #E3E1FE #E3E1FE

Accessibility & contrast

On white

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

On black

9.90
#AFA9FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA9FC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA9FC#FFFFFF#000000##000000
##AFA9FC1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B4FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#9CB8C7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afa9fc;
/* rgb */ color: rgb(175, 169, 252);
/* oklch */ color: oklch(77.1% 0.117 286.6);
Tailwind
colors: {
  custom: {
    50: '#c9c2fd',
    500: '#afa9fc',
    950: '#000000',
  },
}
SCSS
$custom: #afa9fc;
$custom-light: #c9c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afa9fc",
  "rgb": {
    "r": 175,
    "g": 169,
    "b": 252
  },
  "hsl": {
    "h": 244.337,
    "s": 93.258,
    "l": 82.549
  },
  "oklch": {
    "l": 0.77134,
    "c": 0.11748,
    "h": 286.6
  },
  "luminance": 0.44518
}

Semantic roles & 50–950 ramp

primary
#AFA9FC
secondary
#F4F6D5
accent
#E600D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFA9FC

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

Preview Lab → · Contrast checker → · Palette generator →

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