#AFA3EF#AFA3EF

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

Color values

HEX#AFA3EF
RGBrgb(175, 163, 239)
HSLhsl(249, 70%, 79%)
HSVhsv(249, 32%, 94%)
CMYKcmyk(26.8%, 31.8%, 0%, 6.3%)
CIE-LABlab(70.55, 20.49, -36.52)
CIE-LCHlch(70.55, 41.87, 299.30°)
OKLaboklab(75.4% 0.0385 -0.1013)
OKLCHoklch(75.4% 0.108 290.8)
XYZxyz(46.3525, 41.5396, 87.2204)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3EF #E3EFA3
analogous
#A3BDEF #AFA3EF #D5A3EF
triadic
#AFA3EF #EFAFA3 #A3EFAF
tetradic
#AFA3EF #EFA3BD #E3EFA3 #A3EFD5
square
#AFA3EF #EFA3BD #E3EFA3 #A3EFD5
split-complementary
#AFA3EF #EFD5A3 #BDEFA3
monochromatic
#543BDD #826FE6 #AFA3EF #DCD7F8 #E8E5FA

Accessibility & contrast

On white

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

On black

9.31
#AFA3EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3EF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3EF#FFFFFF#000000##000000
##AFA3EF1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAEF2
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#A1B0BE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afa3ef;
/* rgb */ color: rgb(175, 163, 239);
/* oklch */ color: oklch(75.4% 0.108 290.8);
Tailwind
colors: {
  custom: {
    50: '#c8bef4',
    500: '#afa3ef',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ef;
$custom-light: #c8bef4;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ef",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 239
  },
  "hsl": {
    "h": 249.474,
    "s": 70.37,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75404,
    "c": 0.10837,
    "h": 290.8
  },
  "luminance": 0.4154
}

Semantic roles & 50–950 ramp

primary
#AFA3EF
secondary
#EEF2D9
accent
#D213B4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3EF

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

Preview Lab → · Contrast checker → · Palette generator →

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