#AFAAF6#AFAAF6

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

Color values

HEX#AFAAF6
RGBrgb(175, 170, 246)
HSLhsl(244, 81%, 82%)
HSVhsv(244, 31%, 96%)
CMYKcmyk(28.9%, 30.9%, 0%, 3.5%)
CIE-LABlab(72.57, 18.28, -37.18)
CIE-LCHlch(72.57, 41.43, 296.18°)
OKLaboklab(77.05% 0.0308 -0.1032)
OKLCHoklch(77.05% 0.108 286.6)
XYZxyz(48.6842, 44.5161, 93.1984)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF6 #F1F6AA
analogous
#AACBF6 #AFAAF6 #D5AAF6
triadic
#AFAAF6 #F6AFAA #AAF6AF
tetradic
#AFAAF6 #F6AACB #F1F6AA #AAF6D5
square
#AFAAF6 #F6AACB #F1F6AA #AAF6D5
split-complementary
#AFAAF6 #F6D5AA #CBF6AA
monochromatic
#473BEA #7B73F0 #AFAAF6 #E3E1FC #E5E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFAAF6#FFFFFF#000000##000000
##AFAAF61.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)
#95B4F9
Deuteranopia (green-blind)
#93B0F4
Tritanopia (blue-blind)
#9EB8C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaaf6;
/* rgb */ color: rgb(175, 170, 246);
/* oklch */ color: oklch(77.1% 0.108 286.6);
Tailwind
colors: {
  custom: {
    50: '#c8c3f9',
    500: '#afaaf6',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf6;
$custom-light: #c8c3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf6",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 246
  },
  "hsl": {
    "h": 243.947,
    "s": 80.851,
    "l": 81.569
  },
  "oklch": {
    "l": 0.77052,
    "c": 0.10772,
    "h": 286.6
  },
  "luminance": 0.44517
}

Semantic roles & 50–950 ramp

primary
#AFAAF6
secondary
#F2F4D7
accent
#DD08CF
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF6

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

Preview Lab → · Contrast checker → · Palette generator →

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