#AFAAF0#AFAAF0

#AFAAF0 is a light, moderate blue. Relative luminance 0.442; OKLCH L 76.8% C 0.099 H 287.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#AFAAF0
RGBrgb(175, 170, 240)
HSLhsl(244, 70%, 80%)
HSVhsv(244, 29%, 94%)
CMYKcmyk(27.1%, 29.2%, 0%, 5.9%)
CIE-LABlab(72.33, 16.82, -34.30)
CIE-LCHlch(72.33, 38.20, 296.12°)
OKLaboklab(76.79% 0.0292 -0.095)
OKLCHoklch(76.79% 0.099 287.1)
XYZxyz(47.7781, 44.1537, 88.4265)
Luminance0.4415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF0 #EBF0AA
analogous
#AAC8F0 #AFAAF0 #D2AAF0
triadic
#AFAAF0 #F0AFAA #AAF0AF
tetradic
#AFAAF0 #F0AAC8 #EBF0AA #AAF0D2
square
#AFAAF0 #F0AAC8 #EBF0AA #AAF0D2
split-complementary
#AFAAF0 #F0D2AA #C8F0AA
monochromatic
#4D42DE #7E76E7 #AFAAF0 #E0DEF9 #E7E5FA

Accessibility & contrast

On white

2.14
#AFAAF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#AFAAF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAF0
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAF0#FFFFFF#000000##000000
##AFAAF01.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B3F3
Deuteranopia (green-blind)
#96B0EE
Tritanopia (blue-blind)
#A0B6C3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afaaf0;
/* rgb */ color: rgb(175, 170, 240);
/* oklch */ color: oklch(76.8% 0.099 287.1);
Tailwind
colors: {
  custom: {
    50: '#c8c3f5',
    500: '#afaaf0',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf0;
$custom-light: #c8c3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf0",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 240
  },
  "hsl": {
    "h": 244.286,
    "s": 70,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.09936,
    "h": 287.1
  },
  "luminance": 0.44155
}

Semantic roles & 50–950 ramp

primary
#AFAAF0
secondary
#F0F2D9
accent
#D214C4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF0

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

Preview Lab → · Contrast checker → · Palette generator →

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