#AFAAF5#AFAAF5

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

Color values

HEX#AFAAF5
RGBrgb(175, 170, 245)
HSLhsl(244, 79%, 81%)
HSVhsv(244, 31%, 96%)
CMYKcmyk(28.6%, 30.6%, 0%, 3.9%)
CIE-LABlab(72.53, 18.03, -36.70)
CIE-LCHlch(72.53, 40.90, 296.17°)
OKLaboklab(77.01% 0.0305 -0.1019)
OKLCHoklch(77.01% 0.106 286.7)
XYZxyz(48.5311, 44.4549, 92.3922)
Luminance0.4446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAF5 #F0F5AA
analogous
#AACBF5 #AFAAF5 #D5AAF5
triadic
#AFAAF5 #F5AFAA #AAF5AF
tetradic
#AFAAF5 #F5AACB #F0F5AA #AAF5D5
square
#AFAAF5 #F5AACB #F0F5AA #AAF5D5
split-complementary
#AFAAF5 #F5D5AA #CBF5AA
monochromatic
#483CE8 #7B73EF #AFAAF5 #E3E1FB #E5E4FC

Accessibility & contrast

On white

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

On black

9.89
#AFAAF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAF5
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAF5#FFFFFF#000000##000000
##AFAAF51.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B4F8
Deuteranopia (green-blind)
#94B0F3
Tritanopia (blue-blind)
#9EB7C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afaaf5;
/* rgb */ color: rgb(175, 170, 245);
/* oklch */ color: oklch(77.0% 0.106 286.7);
Tailwind
colors: {
  custom: {
    50: '#c8c3f8',
    500: '#afaaf5',
    950: '#000000',
  },
}
SCSS
$custom: #afaaf5;
$custom-light: #c8c3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaf5",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 245
  },
  "hsl": {
    "h": 244,
    "s": 78.947,
    "l": 81.373
  },
  "oklch": {
    "l": 0.77007,
    "c": 0.10634,
    "h": 286.7
  },
  "luminance": 0.44456
}

Semantic roles & 50–950 ramp

primary
#AFAAF5
secondary
#F2F4D7
accent
#DB0ACD
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AFAAF5

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

Preview Lab → · Contrast checker → · Palette generator →

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