#AFA3DC#AFA3DC

#AFA3DC is a light, moderate violet. Relative luminance 0.405; OKLCH L 74.6% C 0.082 H 294.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#AFA3DC
RGBrgb(175, 163, 220)
HSLhsl(253, 45%, 75%)
HSVhsv(253, 26%, 86%)
CMYKcmyk(20.5%, 25.9%, 0%, 13.7%)
CIE-LABlab(69.81, 16.03, -27.27)
CIE-LCHlch(69.81, 31.63, 300.45°)
OKLaboklab(74.58% 0.0333 -0.0749)
OKLCHoklch(74.58% 0.082 294)
XYZxyz(43.6917, 40.4752, 73.2069)
Luminance0.4048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3DC #D0DCA3
analogous
#A3B3DC #AFA3DC #CCA3DC
triadic
#AFA3DC #DCAFA3 #A3DCAF
tetradic
#AFA3DC #DCA3B3 #D0DCA3 #A3DCCC
square
#AFA3DC #DCA3B3 #D0DCA3 #A3DCCC
split-complementary
#AFA3DC #DCCCA3 #B3DCA3
monochromatic
#624ABA #8877CB #AFA3DC #D6CFED #ECE9F7

Accessibility & contrast

On white

2.31
#AFA3DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#AFA3DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3DC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3DC#FFFFFF#000000##000000
##AFA3DC1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDE
Deuteranopia (green-blind)
#97AADA
Tritanopia (blue-blind)
#A6ACB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afa3dc;
/* rgb */ color: rgb(175, 163, 220);
/* oklch */ color: oklch(74.6% 0.082 294.0);
Tailwind
colors: {
  custom: {
    50: '#c7bee7',
    500: '#afa3dc',
    950: '#000000',
  },
}
SCSS
$custom: #afa3dc;
$custom-light: #c7bee7;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3dc",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 220
  },
  "hsl": {
    "h": 252.632,
    "s": 44.882,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74584,
    "c": 0.082,
    "h": 294
  },
  "luminance": 0.40476
}

Semantic roles & 50–950 ramp

primary
#AFA3DC
secondary
#EAEEDD
accent
#B82D9B
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #AFA3DC

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

Preview Lab → · Contrast checker → · Palette generator →

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