#AFAAF9#AFAAF9

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

Color values

HEX#AFAAF9
RGBrgb(175, 170, 249)
HSLhsl(244, 87%, 82%)
HSVhsv(244, 32%, 98%)
CMYKcmyk(29.7%, 31.7%, 0%, 2.4%)
CIE-LABlab(72.70, 19.02, -38.62)
CIE-LCHlch(72.70, 43.05, 296.22°)
OKLaboklab(77.19% 0.0315 -0.1074)
OKLCHoklch(77.19% 0.112 286.4)
XYZxyz(49.1483, 44.7018, 95.6430)
Luminance0.4470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF9 #F4F9AA
analogous
#AACDF9 #AFAAF9 #D6AAF9
triadic
#AFAAF9 #F9AFAA #AAF9AF
tetradic
#AFAAF9 #F9AACD #F4F9AA #AAF9D6
square
#AFAAF9 #F9AACD #F4F9AA #AAF9D6
split-complementary
#AFAAF9 #F9D6AA #CDF9AA
monochromatic
#4338F1 #7971F5 #AFAAF9 #E4E2FD #E4E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAAF9#FFFFFF#000000##000000
##AFAAF91.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)
#94B4FC
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#9DB8C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaaf9;
/* rgb */ color: rgb(175, 170, 249);
/* oklch */ color: oklch(77.2% 0.112 286.4);
Tailwind
colors: {
  custom: {
    50: '#c8c3fb',
    500: '#afaaf9',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf9;
$custom-light: #c8c3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf9",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 249
  },
  "hsl": {
    "h": 243.797,
    "s": 86.813,
    "l": 82.157
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.11189,
    "h": 286.4
  },
  "luminance": 0.44703
}

Semantic roles & 50–950 ramp

primary
#AFAAF9
secondary
#F3F5D6
accent
#E302D5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF9

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

Preview Lab → · Contrast checker → · Palette generator →

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