#AFAFF2#AFAFF2

#AFAFF2 is a light, moderate blue. Relative luminance 0.462; OKLCH L 77.8% C 0.095 H 284.0°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#AFAFF2
RGBrgb(175, 175, 242)
HSLhsl(240, 72%, 82%)
HSVhsv(240, 28%, 95%)
CMYKcmyk(27.7%, 27.7%, 0%, 5.1%)
CIE-LABlab(73.66, 14.52, -33.32)
CIE-LCHlch(73.66, 36.35, 293.54°)
OKLaboklab(77.84% 0.023 -0.0922)
OKLCHoklch(77.84% 0.095 284)
XYZxyz(49.0320, 46.1836, 90.3182)
Luminance0.4618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFF2 #F2F2AF
analogous
#AFD1F2 #AFAFF2 #D1AFF2
triadic
#AFAFF2 #F2AFAF #AFF2AF
tetradic
#AFAFF2 #F2AFD1 #F2F2AF #AFF2D1
square
#AFAFF2 #F2AFD1 #F2F2AF #AFF2D1
split-complementary
#AFAFF2 #F2D1AF #D1F2AF
monochromatic
#4646E1 #7A7AE9 #AFAFF2 #E4E4FB #E5E5FB

Accessibility & contrast

On white

2.05
#AFAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#AFAFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFF2
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFF2#FFFFFF#000000##000000
##AFAFF21.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB7F5
Deuteranopia (green-blind)
#9AB3F0
Tritanopia (blue-blind)
#9FBBC7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaff2;
/* rgb */ color: rgb(175, 175, 242);
/* oklch */ color: oklch(77.8% 0.095 284.0);
Tailwind
colors: {
  custom: {
    50: '#c8c6f6',
    500: '#afaff2',
    950: '#000000',
  },
}
SCSS
$custom: #afaff2;
$custom-light: #c8c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#afaff2",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77843,
    "c": 0.09501,
    "h": 284
  },
  "luminance": 0.46185
}

Semantic roles & 50–950 ramp

primary
#AFAFF2
secondary
#F2F2D9
accent
#D411D4
background
#FCFCFF
surface
#F8F8FE
border
#D1D1D6
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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