#AFAFF8#AFAFF8

#AFAFF8 is a light, moderate blue. Relative luminance 0.466; OKLCH L 78.1% C 0.103 H 283.7°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#AFAFF8
RGBrgb(175, 175, 248)
HSLhsl(240, 84%, 83%)
HSVhsv(240, 29%, 97%)
CMYKcmyk(29.4%, 29.4%, 0%, 2.7%)
CIE-LABlab(73.90, 15.98, -36.20)
CIE-LCHlch(73.90, 39.58, 293.82°)
OKLaboklab(78.1% 0.0246 -0.1004)
OKLCHoklch(78.1% 0.103 283.7)
XYZxyz(49.9480, 46.5499, 95.1422)
Luminance0.4655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFF8 #F8F8AF
analogous
#AFD3F8 #AFAFF8 #D3AFF8
triadic
#AFAFF8 #F8AFAF #AFF8AF
tetradic
#AFAFF8 #F8AFD3 #F8F8AF #AFF8D3
square
#AFAFF8 #F8AFD3 #F8F8AF #AFF8D3
split-complementary
#AFAFF8 #F8D3AF #D3F8AF
monochromatic
#3E3EEE #7777F3 #AFAFF8 #E3E3FD #E3E3FD

Accessibility & contrast

On white

2.04
#AFAFF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#AFAFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFF8
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFF8#FFFFFF#000000##000000
##AFAFF81.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FB
Deuteranopia (green-blind)
#98B3F6
Tritanopia (blue-blind)
#9DBCC9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afaff8;
/* rgb */ color: rgb(175, 175, 248);
/* oklch */ color: oklch(78.1% 0.103 283.7);
Tailwind
colors: {
  custom: {
    50: '#c8c6fa',
    500: '#afaff8',
    950: '#000000',
  },
}
SCSS
$custom: #afaff8;
$custom-light: #c8c6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#afaff8",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.78103,
    "c": 0.1034,
    "h": 283.7
  },
  "luminance": 0.46551
}

Semantic roles & 50–950 ramp

primary
#AFAFF8
secondary
#F4F4D7
accent
#E005E0
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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