#AFAAF4#AFAAF4

#AFAAF4 is a light, moderate blue. Relative luminance 0.444; OKLCH L 77.0% C 0.105 H 286.7°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#AFAAF4
RGBrgb(175, 170, 244)
HSLhsl(244, 77%, 81%)
HSVhsv(244, 30%, 96%)
CMYKcmyk(28.3%, 30.3%, 0%, 4.3%)
CIE-LABlab(72.49, 17.79, -36.23)
CIE-LCHlch(72.49, 40.36, 296.16°)
OKLaboklab(76.96% 0.0302 -0.1005)
OKLCHoklch(76.96% 0.105 286.7)
XYZxyz(48.3789, 44.3940, 91.5904)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF4 #EFF4AA
analogous
#AACAF4 #AFAAF4 #D4AAF4
triadic
#AFAAF4 #F4AFAA #AAF4AF
tetradic
#AFAAF4 #F4AACA #EFF4AA #AAF4D4
square
#AFAAF4 #F4AACA #EFF4AA #AAF4D4
split-complementary
#AFAAF4 #F4D4AA #CAF4AA
monochromatic
#493EE6 #7C74ED #AFAAF4 #E2E0FB #E6E4FB

Accessibility & contrast

On white

2.13
#AFAAF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#AFAAF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAF4
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAF4#FFFFFF#000000##000000
##AFAAF41.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B4F7
Deuteranopia (green-blind)
#94B0F2
Tritanopia (blue-blind)
#9FB7C4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaaf4;
/* rgb */ color: rgb(175, 170, 244);
/* oklch */ color: oklch(77.0% 0.105 286.7);
Tailwind
colors: {
  custom: {
    50: '#c8c3f8',
    500: '#afaaf4',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf4;
$custom-light: #c8c3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf4",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 244
  },
  "hsl": {
    "h": 244.054,
    "s": 77.083,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.10494,
    "h": 286.7
  },
  "luminance": 0.44395
}

Semantic roles & 50–950 ramp

primary
#AFAAF4
secondary
#F1F3D8
accent
#D90CCB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF4

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

Preview Lab → · Contrast checker → · Palette generator →

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