#AFAEFA#AFAEFA

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

Color values

HEX#AFAEFA
RGBrgb(175, 174, 250)
HSLhsl(241, 88%, 83%)
HSVhsv(241, 30%, 98%)
CMYKcmyk(30%, 30.4%, 0%, 2%)
CIE-LABlab(73.73, 17.03, -37.55)
CIE-LCHlch(73.73, 41.23, 294.40°)
OKLaboklab(78% 0.0264 -0.1043)
OKLCHoklch(78% 0.108 284.2)
XYZxyz(50.0660, 46.2869, 96.7204)
Luminance0.4629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFAEFA #F9FAAE
analogous
#AED3FA #AFAEFA #D5AEFA
triadic
#AFAEFA #FAAFAE #AEFAAF
tetradic
#AFAEFA #FAAED3 #F9FAAE #AEFAD5
square
#AFAEFA #FAAED3 #F9FAAE #AEFAD5
split-complementary
#AFAEFA #FAD5AE #D3FAAE
monochromatic
#3D3BF3 #7674F6 #AFAEFA #E3E2FD #E3E2FD

Accessibility & contrast

On white

2.05
#AFAEFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#AFAEFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFAEFA
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFAEFA#FFFFFF#000000##000000
##AFAEFA1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FD
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#9DBCC9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afaefa;
/* rgb */ color: rgb(175, 174, 250);
/* oklch */ color: oklch(78.0% 0.108 284.2);
Tailwind
colors: {
  custom: {
    50: '#c8c6fc',
    500: '#afaefa',
    950: '#000000',
  },
}
SCSS
$custom: #afaefa;
$custom-light: #c8c6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#afaefa",
  "rgb": {
    "r": 175,
    "g": 174,
    "b": 250
  },
  "hsl": {
    "h": 240.789,
    "s": 88.372,
    "l": 83.137
  },
  "oklch": {
    "l": 0.77999,
    "c": 0.10759,
    "h": 284.2
  },
  "luminance": 0.46288
}

Semantic roles & 50–950 ramp

primary
#AFAEFA
secondary
#F5F5D6
accent
#E501E2
background
#FCFCFF
surface
#F8F8FF
border
#D1D1D7
text
#131317
muted
#828285

Preview Lab

Preview with #AFAEFA

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

Preview Lab → · Contrast checker → · Palette generator →

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