#AFAAFF#AFAAFF

#AFAAFF is a light, vivid blue. Relative luminance 0.451; OKLCH L 77.5% C 0.120 H 285.9°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#AFAAFF
RGBrgb(175, 170, 255)
HSLhsl(244, 100%, 83%)
HSVhsv(244, 33%, 100%)
CMYKcmyk(31.4%, 33.3%, 0%, 0%)
CIE-LABlab(72.95, 20.51, -41.47)
CIE-LCHlch(72.95, 46.26, 296.31°)
OKLaboklab(77.46% 0.033 -0.1156)
OKLCHoklch(77.46% 0.12 285.9)
XYZxyz(50.0991, 45.0821, 100.6505)
Luminance0.4508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAAFF #FAFFAA
analogous
#AACFFF #AFAAFF #D9AAFF
triadic
#AFAAFF #FFAFAA #AAFFAF
tetradic
#AFAAFF #FFAACF #FAFFAA #AAFFD9
square
#AFAAFF #FFAACF #FAFFAA #AAFFD9
split-complementary
#AFAAFF #FFD9AA #CFFFAA
monochromatic
#3C30FF #756DFF #AFAAFF #E2E0FF #E2E0FF

Accessibility & contrast

On white

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

On black

10.02
#AFAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAAFF
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAAFF#FFFFFF#000000##000000
##AFAAFF1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#8FB1FD
Tritanopia (blue-blind)
#9BBAC9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afaaff;
/* rgb */ color: rgb(175, 170, 255);
/* oklch */ color: oklch(77.5% 0.120 285.9);
Tailwind
colors: {
  custom: {
    50: '#c9c3ff',
    500: '#afaaff',
    950: '#000000',
  },
}
SCSS
$custom: #afaaff;
$custom-light: #c9c3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afaaff",
  "rgb": {
    "r": 175,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 243.529,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.77462,
    "c": 0.12019,
    "h": 285.9
  },
  "luminance": 0.45083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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