#AFAAFE#AFAAFE

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

Color values

HEX#AFAAFE
RGBrgb(175, 170, 254)
HSLhsl(244, 98%, 83%)
HSVhsv(244, 33%, 100%)
CMYKcmyk(31.1%, 33.1%, 0%, 0.4%)
CIE-LABlab(72.90, 20.26, -41.00)
CIE-LCHlch(72.90, 45.73, 296.29°)
OKLaboklab(77.42% 0.0327 -0.1142)
OKLCHoklch(77.42% 0.119 286)
XYZxyz(49.9386, 45.0179, 99.8049)
Luminance0.4502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAFE #F9FEAA
analogous
#AACFFE #AFAAFE #D9AAFE
triadic
#AFAAFE #FEAFAA #AAFEAF
tetradic
#AFAAFE #FEAACF #F9FEAA #AAFED9
square
#AFAAFE #FEAACF #F9FEAA #AAFED9
split-complementary
#AFAAFE #FED9AA #CFFEAA
monochromatic
#3D31FD #766EFD #AFAAFE #E3E1FF #E3E1FF

Accessibility & contrast

On white

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

On black

10.00
#AFAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAFE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAFE#FFFFFF#000000##000000
##AFAAFE1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afaafe;
/* rgb */ color: rgb(175, 170, 254);
/* oklch */ color: oklch(77.4% 0.119 286.0);
Tailwind
colors: {
  custom: {
    50: '#c9c3ff',
    500: '#afaafe',
    950: '#000000',
  },
}
SCSS
$custom: #afaafe;
$custom-light: #c9c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afaafe",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 243.571,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.77416,
    "c": 0.11881,
    "h": 286
  },
  "luminance": 0.45019
}

Semantic roles & 50–950 ramp

primary
#AFAAFE
secondary
#F5F7D4
accent
#E600D8
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AFAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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