#AFA3CC#AFA3CC

#AFA3CC is a light, muted violet. Relative luminance 0.397; OKLCH L 74.0% C 0.060 H 298.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#AFA3CC
RGBrgb(175, 163, 204)
HSLhsl(258, 29%, 72%)
HSVhsv(258, 20%, 80%)
CMYKcmyk(14.2%, 20.1%, 0%, 20%)
CIE-LABlab(69.23, 12.47, -19.33)
CIE-LCHlch(69.23, 23.00, 302.82°)
OKLaboklab(73.95% 0.0284 -0.0526)
OKLCHoklch(73.95% 0.06 298.3)
XYZxyz(41.6732, 39.6678, 62.5762)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA3CC #C0CCA3
analogous
#A3ACCC #AFA3CC #C4A3CC
triadic
#AFA3CC #CCAFA3 #A3CCAF
tetradic
#AFA3CC #CCA3AC #C0CCA3 #A3CCC4
square
#AFA3CC #CCA3AC #C0CCA3 #A3CCC4
split-complementary
#AFA3CC #CCC4A3 #ACCCA3
monochromatic
#6C579D #8D7CB6 #AFA3CC #D1CAE2 #EEEBF4

Accessibility & contrast

On white

2.35
#AFA3CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#AFA3CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA3CC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA3CC#FFFFFF#000000##000000
##AFA3CC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CE
Deuteranopia (green-blind)
#9DA9CB
Tritanopia (blue-blind)
#AAA9B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #afa3cc;
/* rgb */ color: rgb(175, 163, 204);
/* oklch */ color: oklch(74.0% 0.060 298.3);
Tailwind
colors: {
  custom: {
    50: '#c7bedb',
    500: '#afa3cc',
    950: '#000000',
  },
}
SCSS
$custom: #afa3cc;
$custom-light: #c7bedb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa3cc",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 204
  },
  "hsl": {
    "h": 257.561,
    "s": 28.671,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7395,
    "c": 0.05974,
    "h": 298.3
  },
  "luminance": 0.39668
}

Semantic roles & 50–950 ramp

primary
#AFA3CC
secondary
#E8EBE0
accent
#A73E89
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA3CC

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

Preview Lab → · Contrast checker → · Palette generator →

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