#AFAEF6#AFAEF6

#AFAEF6 is a light, moderate blue. Relative luminance 0.460; OKLCH L 77.8% C 0.102 H 284.4°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AFAEF6
RGBrgb(175, 174, 246)
HSLhsl(241, 80%, 82%)
HSVhsv(241, 29%, 96%)
CMYKcmyk(28.9%, 29.3%, 0%, 3.5%)
CIE-LABlab(73.57, 16.05, -35.63)
CIE-LCHlch(73.57, 39.08, 294.25°)
OKLaboklab(77.82% 0.0254 -0.0988)
OKLCHoklch(77.82% 0.102 284.4)
XYZxyz(49.4454, 46.0387, 93.4521)
Luminance0.4604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEF6 #F5F6AE
analogous
#AED1F6 #AFAEF6 #D3AEF6
triadic
#AFAEF6 #F6AFAE #AEF6AF
tetradic
#AFAEF6 #F6AED1 #F5F6AE #AEF6D3
square
#AFAEF6 #F6AED1 #F5F6AE #AEF6D3
split-complementary
#AFAEF6 #F6D3AE #D1F6AE
monochromatic
#4240EA #7977F0 #AFAEF6 #E4E3FC #E4E3FC

Accessibility & contrast

On white

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

On black

10.21
#AFAEF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEF6
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEF6#FFFFFF#000000##000000
##AFAEF61.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB7F9
Deuteranopia (green-blind)
#97B3F4
Tritanopia (blue-blind)
#9EBBC8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaef6;
/* rgb */ color: rgb(175, 174, 246);
/* oklch */ color: oklch(77.8% 0.102 284.4);
Tailwind
colors: {
  custom: {
    50: '#c8c6f9',
    500: '#afaef6',
    950: '#000000',
  },
}
SCSS
$custom: #afaef6;
$custom-light: #c8c6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#afaef6",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 246
  },
  "hsl": {
    "h": 240.833,
    "s": 80,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77822,
    "c": 0.10202,
    "h": 284.4
  },
  "luminance": 0.4604
}

Semantic roles & 50–950 ramp

primary
#AFAEF6
secondary
#F3F4D7
accent
#DC09D9
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEF6

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

Preview Lab → · Contrast checker → · Palette generator →

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