#AFABEA#AFABEA

#AFABEA is a light, moderate blue. Relative luminance 0.442; OKLCH L 76.7% C 0.090 H 287.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AFABEA
RGBrgb(175, 171, 234)
HSLhsl(244, 60%, 79%)
HSVhsv(244, 27%, 92%)
CMYKcmyk(25.2%, 26.9%, 0%, 8.2%)
CIE-LABlab(72.35, 14.83, -31.01)
CIE-LCHlch(72.35, 34.37, 295.55°)
OKLaboklab(76.72% 0.0262 -0.0856)
OKLCHoklch(76.72% 0.09 287)
XYZxyz(47.0897, 44.1794, 83.8725)
Luminance0.4418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFABEA #E6EAAB
analogous
#ABC7EA #AFABEA #CFABEA
triadic
#AFABEA #EAAFAB #ABEAAF
tetradic
#AFABEA #EAABC7 #E6EAAB #ABEACF
square
#AFABEA #EAABC7 #E6EAAB #ABEACF
split-complementary
#AFABEA #EACFAB #C7EAAB
monochromatic
#5249D2 #807ADE #AFABEA #DEDCF6 #E8E7F9

Accessibility & contrast

On white

2.14
#AFABEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#AFABEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFABEA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFABEA#FFFFFF#000000##000000
##AFABEA1.002.149.849.84
#FFFFFF2.141.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3ED
Deuteranopia (green-blind)
#99B0E8
Tritanopia (blue-blind)
#A2B6C1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #afabea;
/* rgb */ color: rgb(175, 171, 234);
/* oklch */ color: oklch(76.7% 0.090 287.0);
Tailwind
colors: {
  custom: {
    50: '#c8c4f1',
    500: '#afabea',
    950: '#000000',
  },
}
SCSS
$custom: #afabea;
$custom-light: #c8c4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#afabea",
  "rgb": {
    "r": 175,
    "g": 171,
    "b": 234
  },
  "hsl": {
    "h": 243.81,
    "s": 60,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.08951,
    "h": 287
  },
  "luminance": 0.4418
}

Semantic roles & 50–950 ramp

primary
#AFABEA
secondary
#EFF0DB
accent
#C81EBD
background
#FCFCFE
surface
#F8F8FD
border
#D1D1D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFABEA

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

Preview Lab → · Contrast checker → · Palette generator →

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