#AFAAFD#AFAAFD

#AFAAFD is a light, moderate blue. Relative luminance 0.450; OKLCH L 77.4% C 0.117 H 286.1°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#AFAAFD
RGBrgb(175, 170, 253)
HSLhsl(244, 95%, 83%)
HSVhsv(244, 33%, 99%)
CMYKcmyk(30.8%, 32.8%, 0%, 0.8%)
CIE-LABlab(72.86, 20.01, -40.52)
CIE-LCHlch(72.86, 45.19, 296.28°)
OKLaboklab(77.37% 0.0325 -0.1128)
OKLCHoklch(77.37% 0.117 286.1)
XYZxyz(49.7789, 44.9540, 98.9638)
Luminance0.4496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAFD #F8FDAA
analogous
#AACFFD #AFAAFD #D8AAFD
triadic
#AFAAFD #FDAFAA #AAFDAF
tetradic
#AFAAFD #FDAACF #F8FDAA #AAFDD8
square
#AFAAFD #FDAACF #F8FDAA #AAFDD8
split-complementary
#AFAAFD #FDD8AA #CFFDAA
monochromatic
#3E32FA #776EFC #AFAAFD #E3E1FE #E3E1FE

Accessibility & contrast

On white

2.10
#AFAAFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#AFAAFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAFD
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAFD#FFFFFF#000000##000000
##AFAAFD1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#90B1FB
Tritanopia (blue-blind)
#9CB9C8
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afaafd;
/* rgb */ color: rgb(175, 170, 253);
/* oklch */ color: oklch(77.4% 0.117 286.1);
Tailwind
colors: {
  custom: {
    50: '#c9c3fe',
    500: '#afaafd',
    950: '#000000',
  },
}
SCSS
$custom: #afaafd;
$custom-light: #c9c3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#afaafd",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 253
  },
  "hsl": {
    "h": 243.614,
    "s": 95.402,
    "l": 82.941
  },
  "oklch": {
    "l": 0.7737,
    "c": 0.11742,
    "h": 286.1
  },
  "luminance": 0.44955
}

Semantic roles & 50–950 ramp

primary
#AFAAFD
secondary
#F4F7D4
accent
#E600D8
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFAAFD

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

Preview Lab → · Contrast checker → · Palette generator →

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