#AFAFEF#AFAFEF

#AFAFEF is a light, moderate blue. Relative luminance 0.460; OKLCH L 77.7% C 0.091 H 284.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFAFEF
RGBrgb(175, 175, 239)
HSLhsl(240, 67%, 81%)
HSVhsv(240, 27%, 94%)
CMYKcmyk(26.8%, 26.8%, 0%, 6.3%)
CIE-LABlab(73.55, 13.80, -31.88)
CIE-LCHlch(73.55, 34.74, 293.41°)
OKLaboklab(77.72% 0.0221 -0.0881)
OKLCHoklch(77.72% 0.091 284.1)
XYZxyz(48.5852, 46.0048, 87.9647)
Luminance0.4601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFEF #EFEFAF
analogous
#AFCFEF #AFAFEF #CFAFEF
triadic
#AFAFEF #EFAFAF #AFEFAF
tetradic
#AFAFEF #EFAFCF #EFEFAF #AFEFCF
square
#AFAFEF #EFAFCF #EFEFAF #AFEFCF
split-complementary
#AFAFEF #EFCFAF #CFEFAF
monochromatic
#4949DB #7C7CE5 #AFAFEF #E2E2F9 #E5E5FA

Accessibility & contrast

On white

2.06
#AFAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFEF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFEF#FFFFFF#000000##000000
##AFAFEF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F2
Deuteranopia (green-blind)
#9BB3ED
Tritanopia (blue-blind)
#A0BAC5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afafef;
/* rgb */ color: rgb(175, 175, 239);
/* oklch */ color: oklch(77.7% 0.091 284.1);
Tailwind
colors: {
  custom: {
    50: '#c8c6f4',
    500: '#afafef',
    950: '#000000',
  },
}
SCSS
$custom: #afafef;
$custom-light: #c8c6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#afafef",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77715,
    "c": 0.0908,
    "h": 284.1
  },
  "luminance": 0.46006
}

Semantic roles & 50–950 ramp

primary
#AFAFEF
secondary
#F1F1DA
accent
#CF17CF
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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