#AFAFFF#AFAFFF

#AFAFFF is a light, moderate blue. Relative luminance 0.470; OKLCH L 78.4% C 0.113 H 283.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#AFAFFF
RGBrgb(175, 175, 255)
HSLhsl(240, 100%, 84%)
HSVhsv(240, 31%, 100%)
CMYKcmyk(31.4%, 31.4%, 0%, 0%)
CIE-LABlab(74.19, 17.72, -39.54)
CIE-LCHlch(74.19, 43.33, 294.13°)
OKLaboklab(78.42% 0.0264 -0.11)
OKLCHoklch(78.42% 0.113 283.5)
XYZxyz(51.0543, 46.9925, 100.9689)
Luminance0.4699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFF #FFFFAF
analogous
#AFD7FF #AFAFFF #D7AFFF
triadic
#AFAFFF #FFAFAF #AFFFAF
tetradic
#AFAFFF #FFAFD7 #FFFFAF #AFFFD7
square
#AFAFFF #FFAFD7 #FFFFAF #AFFFD7
split-complementary
#AFAFFF #FFD7AF #D7FFAF
monochromatic
#3535FF #7272FF #AFAFFF #E0E0FF #E0E0FF

Accessibility & contrast

On white

2.02
#AFAFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#AFAFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFF
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFF#FFFFFF#000000##000000
##AFAFFF1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#95B4FD
Tritanopia (blue-blind)
#9BBECC
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afafff;
/* rgb */ color: rgb(175, 175, 255);
/* oklch */ color: oklch(78.4% 0.113 283.5);
Tailwind
colors: {
  custom: {
    50: '#c9c6ff',
    500: '#afafff',
    950: '#000000',
  },
}
SCSS
$custom: #afafff;
$custom-light: #c9c6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#afafff",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.11314,
    "h": 283.5
  },
  "luminance": 0.46994
}

Semantic roles & 50–950 ramp

primary
#AFAFFF
secondary
#F7F7D4
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131318
muted
#828286

Preview Lab

Preview with #AFAFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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