#AFA3ED#AFA3ED

#AFA3ED is a light, moderate blue. Relative luminance 0.414; OKLCH L 75.3% C 0.106 H 291.1°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#AFA3ED
RGBrgb(175, 163, 237)
HSLhsl(250, 67%, 78%)
HSVhsv(250, 31%, 93%)
CMYKcmyk(26.2%, 31.2%, 0%, 7.1%)
CIE-LABlab(70.47, 20.01, -35.55)
CIE-LCHlch(70.47, 40.80, 299.38°)
OKLaboklab(75.31% 0.038 -0.0985)
OKLCHoklch(75.31% 0.106 291.1)
XYZxyz(46.0587, 41.4220, 85.6730)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3ED #E1EDA3
analogous
#A3BCED #AFA3ED #D4A3ED
triadic
#AFA3ED #EDAFA3 #A3EDAF
tetradic
#AFA3ED #EDA3BC #E1EDA3 #A3EDD4
square
#AFA3ED #EDA3BC #E1EDA3 #A3EDD4
split-complementary
#AFA3ED #EDD4A3 #BCEDA3
monochromatic
#563DD9 #8270E3 #AFA3ED #DCD6F7 #E9E5FA

Accessibility & contrast

On white

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

On black

9.28
#AFA3ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3ED
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3ED#FFFFFF#000000##000000
##AFA3ED1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#A1B0BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afa3ed;
/* rgb */ color: rgb(175, 163, 237);
/* oklch */ color: oklch(75.3% 0.106 291.1);
Tailwind
colors: {
  custom: {
    50: '#c8bef3',
    500: '#afa3ed',
    950: '#000000',
  },
}
SCSS
$custom: #afa3ed;
$custom-light: #c8bef3;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3ed",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 237
  },
  "hsl": {
    "h": 249.73,
    "s": 67.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75314,
    "c": 0.10561,
    "h": 291.1
  },
  "luminance": 0.41423
}

Semantic roles & 50–950 ramp

primary
#AFA3ED
secondary
#EEF2D9
accent
#CF16B1
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AFA3ED

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

Preview Lab → · Contrast checker → · Palette generator →

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