#AFAEFB#AFAEFB

#AFAEFB is a light, moderate blue. Relative luminance 0.464; OKLCH L 78.0% C 0.109 H 284.2°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#AFAEFB
RGBrgb(175, 174, 251)
HSLhsl(241, 91%, 83%)
HSVhsv(241, 31%, 98%)
CMYKcmyk(30.3%, 30.7%, 0%, 1.6%)
CIE-LABlab(73.77, 17.28, -38.03)
CIE-LCHlch(73.77, 41.77, 294.44°)
OKLaboklab(78.04% 0.0267 -0.1057)
OKLCHoklch(78.04% 0.109 284.2)
XYZxyz(50.2232, 46.3498, 97.5484)
Luminance0.4635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEFB #FAFBAE
analogous
#AED3FB #AFAEFB #D5AEFB
triadic
#AFAEFB #FBAFAE #AEFBAF
tetradic
#AFAEFB #FBAED3 #FAFBAE #AEFBD5
square
#AFAEFB #FBAED3 #FAFBAE #AEFBD5
split-complementary
#AFAEFB #FBD5AE #D3FBAE
monochromatic
#3C39F5 #7574F8 #AFAEFB #E2E2FE #E2E2FE

Accessibility & contrast

On white

2.04
#AFAEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#AFAEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEFB
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEFB#FFFFFF#000000##000000
##AFAEFB1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FE
Deuteranopia (green-blind)
#95B3F9
Tritanopia (blue-blind)
#9CBCCA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaefb;
/* rgb */ color: rgb(175, 174, 251);
/* oklch */ color: oklch(78.0% 0.109 284.2);
Tailwind
colors: {
  custom: {
    50: '#c8c6fd',
    500: '#afaefb',
    950: '#000000',
  },
}
SCSS
$custom: #afaefb;
$custom-light: #c8c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaefb",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 240.779,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.78044,
    "c": 0.10898,
    "h": 284.2
  },
  "luminance": 0.46351
}

Semantic roles & 50–950 ramp

primary
#AFAEFB
secondary
#F5F6D5
accent
#E600E3
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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