#AFAAF3#AFAAF3

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

Color values

HEX#AFAAF3
RGBrgb(175, 170, 243)
HSLhsl(244, 75%, 81%)
HSVhsv(244, 30%, 95%)
CMYKcmyk(28%, 30%, 0%, 4.7%)
CIE-LABlab(72.45, 17.55, -35.75)
CIE-LCHlch(72.45, 39.82, 296.15°)
OKLaboklab(76.92% 0.03 -0.0991)
OKLCHoklch(76.92% 0.104 286.8)
XYZxyz(48.2274, 44.3334, 90.7929)
Luminance0.4433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF3 #EEF3AA
analogous
#AAC9F3 #AFAAF3 #D3AAF3
triadic
#AFAAF3 #F3AFAA #AAF3AF
tetradic
#AFAAF3 #F3AAC9 #EEF3AA #AAF3D3
square
#AFAAF3 #F3AAC9 #EEF3AA #AAF3D3
split-complementary
#AFAAF3 #F3D3AA #C9F3AA
monochromatic
#4A3FE4 #7D74EB #AFAAF3 #E1E0FB #E6E4FB

Accessibility & contrast

On white

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

On black

9.87
#AFAAF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAF3
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAF3#FFFFFF#000000##000000
##AFAAF31.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaaf3;
/* rgb */ color: rgb(175, 170, 243);
/* oklch */ color: oklch(76.9% 0.104 286.8);
Tailwind
colors: {
  custom: {
    50: '#c8c3f7',
    500: '#afaaf3',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf3;
$custom-light: #c8c3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf3",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 243
  },
  "hsl": {
    "h": 244.11,
    "s": 75.258,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76918,
    "c": 0.10355,
    "h": 286.8
  },
  "luminance": 0.44334
}

Semantic roles & 50–950 ramp

primary
#AFAAF3
secondary
#F1F3D8
accent
#D70ECA
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF3

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

Preview Lab → · Contrast checker → · Palette generator →

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