#AFA3EE#AFA3EE

#AFA3EE is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.4% C 0.107 H 290.9°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#AFA3EE
RGBrgb(175, 163, 238)
HSLhsl(250, 69%, 79%)
HSVhsv(250, 32%, 93%)
CMYKcmyk(26.5%, 31.5%, 0%, 6.7%)
CIE-LABlab(70.51, 20.25, -36.03)
CIE-LCHlch(70.51, 41.34, 299.34°)
OKLaboklab(75.36% 0.0382 -0.0999)
OKLCHoklch(75.36% 0.107 290.9)
XYZxyz(46.2052, 41.4806, 86.4446)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3EE #E2EEA3
analogous
#A3BCEE #AFA3EE #D4A3EE
triadic
#AFA3EE #EEAFA3 #A3EEAF
tetradic
#AFA3EE #EEA3BC #E2EEA3 #A3EED4
square
#AFA3EE #EEA3BC #E2EEA3 #A3EED4
split-complementary
#AFA3EE #EED4A3 #BCEEA3
monochromatic
#553CDB #826FE4 #AFA3EE #DCD7F8 #E9E5FA

Accessibility & contrast

On white

2.26
#AFA3EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#AFA3EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3EE
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3EE#FFFFFF#000000##000000
##AFA3EE1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF1
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#A1B0BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa3ee;
/* rgb */ color: rgb(175, 163, 238);
/* oklch */ color: oklch(75.4% 0.107 290.9);
Tailwind
colors: {
  custom: {
    50: '#c8bef3',
    500: '#afa3ee',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ee;
$custom-light: #c8bef3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ee",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 238
  },
  "hsl": {
    "h": 249.6,
    "s": 68.807,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.10698,
    "h": 290.9
  },
  "luminance": 0.41481
}

Semantic roles & 50–950 ramp

primary
#AFA3EE
secondary
#EEF2D9
accent
#D115B3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3EE

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

Preview Lab → · Contrast checker → · Palette generator →

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