#AFABEB#AFABEB

#AFABEB is a light, moderate blue. Relative luminance 0.442; OKLCH L 76.8% C 0.091 H 286.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#AFABEB
RGBrgb(175, 171, 235)
HSLhsl(244, 62%, 80%)
HSVhsv(244, 27%, 92%)
CMYKcmyk(25.5%, 27.2%, 0%, 7.8%)
CIE-LABlab(72.39, 15.07, -31.50)
CIE-LCHlch(72.39, 34.91, 295.56°)
OKLaboklab(76.77% 0.0264 -0.087)
OKLCHoklch(76.77% 0.091 286.9)
XYZxyz(47.2338, 44.2370, 84.6312)
Luminance0.4424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABEB #E7EBAB
analogous
#ABC7EB #AFABEB #CFABEB
triadic
#AFABEB #EBAFAB #ABEBAF
tetradic
#AFABEB #EBABC7 #E7EBAB #ABEBCF
square
#AFABEB #EBABC7 #E7EBAB #ABEBCF
split-complementary
#AFABEB #EBCFAB #C7EBAB
monochromatic
#5148D3 #807ADF #AFABEB #DEDCF7 #E7E6F9

Accessibility & contrast

On white

2.13
#AFABEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#AFABEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABEB
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABEB#FFFFFF#000000##000000
##AFABEB1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#A1B6C1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afabeb;
/* rgb */ color: rgb(175, 171, 235);
/* oklch */ color: oklch(76.8% 0.091 286.9);
Tailwind
colors: {
  custom: {
    50: '#c8c4f1',
    500: '#afabeb',
    950: '#000000',
  },
}
SCSS
$custom: #afabeb;
$custom-light: #c8c4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afabeb",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 235
  },
  "hsl": {
    "h": 243.75,
    "s": 61.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76765,
    "c": 0.09091,
    "h": 286.9
  },
  "luminance": 0.44238
}

Semantic roles & 50–950 ramp

primary
#AFABEB
secondary
#EFF0DB
accent
#C91CBE
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABEB

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

Preview Lab → · Contrast checker → · Palette generator →

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