#AFAFEB#AFAFEB

#AFAFEB is a light, moderate blue. Relative luminance 0.458; OKLCH L 77.5% C 0.085 H 284.2°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFAFEB
RGBrgb(175, 175, 235)
HSLhsl(240, 60%, 80%)
HSVhsv(240, 26%, 92%)
CMYKcmyk(25.5%, 25.5%, 0%, 7.8%)
CIE-LABlab(73.40, 12.84, -29.94)
CIE-LCHlch(73.40, 32.58, 293.22°)
OKLaboklab(77.55% 0.021 -0.0826)
OKLCHoklch(77.55% 0.085 284.2)
XYZxyz(48.0008, 45.7711, 84.8869)
Luminance0.4577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAFEB #EBEBAF
analogous
#AFCDEB #AFAFEB #CDAFEB
triadic
#AFAFEB #EBAFAF #AFEBAF
tetradic
#AFAFEB #EBAFCD #EBEBAF #AFEBCD
square
#AFAFEB #EBAFCD #EBEBAF #AFEBCD
split-complementary
#AFAFEB #EBCDAF #CDEBAF
monochromatic
#4D4DD3 #7E7EDF #AFAFEB #E0E0F7 #E7E7F9

Accessibility & contrast

On white

2.07
#AFAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#AFAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAFEB
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAFEB#FFFFFF#000000##000000
##AFAFEB1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB6EE
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#A1B9C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afafeb;
/* rgb */ color: rgb(175, 175, 235);
/* oklch */ color: oklch(77.5% 0.085 284.2);
Tailwind
colors: {
  custom: {
    50: '#c8c6f1',
    500: '#afafeb',
    950: '#000000',
  },
}
SCSS
$custom: #afafeb;
$custom-light: #c8c6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afafeb",
  "rgb": {
    "r": 175,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77547,
    "c": 0.08518,
    "h": 284.2
  },
  "luminance": 0.45772
}

Semantic roles & 50–950 ramp

primary
#AFAFEB
secondary
#F0F0DB
accent
#C81EC8
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #AFAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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