#AFAAF2#AFAAF2

#AFAAF2 is a light, moderate blue. Relative luminance 0.443; OKLCH L 76.9% C 0.102 H 286.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#AFAAF2
RGBrgb(175, 170, 242)
HSLhsl(244, 73%, 81%)
HSVhsv(244, 30%, 95%)
CMYKcmyk(27.7%, 29.8%, 0%, 5.1%)
CIE-LABlab(72.41, 17.30, -35.26)
CIE-LCHlch(72.41, 39.28, 296.14°)
OKLaboklab(76.87% 0.0297 -0.0977)
OKLCHoklch(76.87% 0.102 286.9)
XYZxyz(48.0768, 44.2732, 89.9998)
Luminance0.4427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF2 #EDF2AA
analogous
#AAC9F2 #AFAAF2 #D3AAF2
triadic
#AFAAF2 #F2AFAA #AAF2AF
tetradic
#AFAAF2 #F2AAC9 #EDF2AA #AAF2D3
square
#AFAAF2 #F2AAC9 #EDF2AA #AAF2D3
split-complementary
#AFAAF2 #F2D3AA #C9F2AA
monochromatic
#4B40E2 #7D75EA #AFAAF2 #E1DFFA #E6E4FB

Accessibility & contrast

On white

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

On black

9.85
#AFAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAF2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAF2#FFFFFF#000000##000000
##AFAAF21.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B3F5
Deuteranopia (green-blind)
#95B0F0
Tritanopia (blue-blind)
#9FB7C4
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaaf2;
/* rgb */ color: rgb(175, 170, 242);
/* oklch */ color: oklch(76.9% 0.102 286.9);
Tailwind
colors: {
  custom: {
    50: '#c8c3f6',
    500: '#afaaf2',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf2;
$custom-light: #c8c3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf2",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 244.167,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76874,
    "c": 0.10216,
    "h": 286.9
  },
  "luminance": 0.44274
}

Semantic roles & 50–950 ramp

primary
#AFAAF2
secondary
#F1F3D8
accent
#D610C8
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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