#AFAFFB#AFAFFB

#AFAFFB is a light, moderate blue. Relative luminance 0.467; OKLCH L 78.2% C 0.108 H 283.6°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#AFAFFB
RGBrgb(175, 175, 251)
HSLhsl(240, 90%, 84%)
HSVhsv(240, 30%, 98%)
CMYKcmyk(30.3%, 30.3%, 0%, 1.6%)
CIE-LABlab(74.02, 16.72, -37.64)
CIE-LCHlch(74.02, 41.18, 293.96°)
OKLaboklab(78.24% 0.0254 -0.1045)
OKLCHoklch(78.24% 0.108 283.6)
XYZxyz(50.4171, 46.7376, 97.6130)
Luminance0.4674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFFB #FBFBAF
analogous
#AFD5FB #AFAFFB #D5AFFB
triadic
#AFAFFB #FBAFAF #AFFBAF
tetradic
#AFAFFB #FBAFD5 #FBFBAF #AFFBD5
square
#AFAFFB #FBAFD5 #FBFBAF #AFFBD5
split-complementary
#AFAFFB #FBD5AF #D5FBAF
monochromatic
#3A3AF5 #7575F8 #AFAFFB #E2E2FE #E2E2FE

Accessibility & contrast

On white

2.03
#AFAFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#AFAFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFFB
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFFB#FFFFFF#000000##000000
##AFAFFB1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#96B4F9
Tritanopia (blue-blind)
#9CBDCA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afaffb;
/* rgb */ color: rgb(175, 175, 251);
/* oklch */ color: oklch(78.2% 0.108 283.6);
Tailwind
colors: {
  custom: {
    50: '#c8c6fd',
    500: '#afaffb',
    950: '#000000',
  },
}
SCSS
$custom: #afaffb;
$custom-light: #c8c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaffb",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78236,
    "c": 0.10758,
    "h": 283.6
  },
  "luminance": 0.46739
}

Semantic roles & 50–950 ramp

primary
#AFAFFB
secondary
#F6F6D5
accent
#E600E5
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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