#AFAFEE#AFAFEE

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

Color values

HEX#AFAFEE
RGBrgb(175, 175, 238)
HSLhsl(240, 65%, 81%)
HSVhsv(240, 26%, 93%)
CMYKcmyk(26.5%, 26.5%, 0%, 6.7%)
CIE-LABlab(73.51, 13.56, -31.39)
CIE-LCHlch(73.51, 34.20, 293.36°)
OKLaboklab(77.67% 0.0218 -0.0867)
OKLCHoklch(77.67% 0.089 284.1)
XYZxyz(48.4378, 45.9459, 87.1888)
Luminance0.4595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFEE #EEEEAF
analogous
#AFCEEE #AFAFEE #CEAFEE
triadic
#AFAFEE #EEAFAF #AFEEAF
tetradic
#AFAFEE #EEAFCE #EEEEAF #AFEECE
square
#AFAFEE #EEAFCE #EEEEAF #AFEECE
split-complementary
#AFAFEE #EECEAF #CEEEAF
monochromatic
#4A4AD9 #7D7DE3 #AFAFEE #E1E1F9 #E6E6FA

Accessibility & contrast

On white

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

On black

10.19
#AFAFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFEE
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFEE#FFFFFF#000000##000000
##AFAFEE1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afafee;
/* rgb */ color: rgb(175, 175, 238);
/* oklch */ color: oklch(77.7% 0.089 284.1);
Tailwind
colors: {
  custom: {
    50: '#c8c6f3',
    500: '#afafee',
    950: '#000000',
  },
}
SCSS
$custom: #afafee;
$custom-light: #c8c6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#afafee",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.77672,
    "c": 0.0894,
    "h": 284.1
  },
  "luminance": 0.45947
}

Semantic roles & 50–950 ramp

primary
#AFAFEE
secondary
#F1F1DA
accent
#CD19CD
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131317
muted
#828285

Preview Lab

Preview with #AFAFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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