#AFAEFC#AFAEFC

#AFAEFC is a light, moderate blue. Relative luminance 0.464; OKLCH L 78.1% C 0.110 H 284.1°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#AFAEFC
RGBrgb(175, 174, 252)
HSLhsl(241, 93%, 84%)
HSVhsv(241, 31%, 99%)
CMYKcmyk(30.6%, 31%, 0%, 1.2%)
CIE-LABlab(73.81, 17.53, -38.50)
CIE-LCHlch(73.81, 42.30, 294.48°)
OKLaboklab(78.09% 0.0269 -0.107)
OKLCHoklch(78.09% 0.11 284.1)
XYZxyz(50.3813, 46.4130, 98.3807)
Luminance0.4641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEFC #FBFCAE
analogous
#AED4FC #AFAEFC #D6AEFC
triadic
#AFAEFC #FCAFAE #AEFCAF
tetradic
#AFAEFC #FCAED4 #FBFCAE #AEFCD6
square
#AFAEFC #FCAED4 #FBFCAE #AEFCD6
split-complementary
#AFAEFC #FCD6AE #D4FCAE
monochromatic
#3A38F8 #7573FA #AFAEFC #E2E1FE #E2E1FE

Accessibility & contrast

On white

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

On black

10.28
#AFAEFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEFC
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEFC#FFFFFF#000000##000000
##AFAEFC1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#9CBCCA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaefc;
/* rgb */ color: rgb(175, 174, 252);
/* oklch */ color: oklch(78.1% 0.110 284.1);
Tailwind
colors: {
  custom: {
    50: '#c8c6fd',
    500: '#afaefc',
    950: '#000000',
  },
}
SCSS
$custom: #afaefc;
$custom-light: #c8c6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#afaefc",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 252
  },
  "hsl": {
    "h": 240.769,
    "s": 92.857,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78088,
    "c": 0.11037,
    "h": 284.1
  },
  "luminance": 0.46414
}

Semantic roles & 50–950 ramp

primary
#AFAEFC
secondary
#F6F6D5
accent
#E600E3
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEFC

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

Preview Lab → · Contrast checker → · Palette generator →

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