#AFA0CC#AFA0CC

#AFA0CC is a light, moderate violet. Relative luminance 0.386; OKLCH L 73.4% C 0.065 H 300.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#AFA0CC
RGBrgb(175, 160, 204)
HSLhsl(260, 30%, 71%)
HSVhsv(260, 22%, 80%)
CMYKcmyk(14.2%, 21.6%, 0%, 20%)
CIE-LABlab(68.47, 14.14, -20.49)
CIE-LCHlch(68.47, 24.89, 304.61°)
OKLaboklab(73.36% 0.0328 -0.0558)
OKLCHoklch(73.36% 0.065 300.4)
XYZxyz(41.1469, 38.6151, 62.4008)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA0CC #BDCCA0
analogous
#A0A7CC #AFA0CC #C5A0CC
triadic
#AFA0CC #CCAFA0 #A0CCAF
tetradic
#AFA0CC #CCA0A7 #BDCCA0 #A0CCC5
square
#AFA0CC #CCA0A7 #BDCCA0 #A0CCC5
split-complementary
#AFA0CC #CCC5A0 #A7CCA0
monochromatic
#6D549D #8D78B7 #AFA0CC #D1C8E1 #EEEBF4

Accessibility & contrast

On white

2.41
#AFA0CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#AFA0CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA0CC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA0CC#FFFFFF#000000##000000
##AFA0CC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CE
Deuteranopia (green-blind)
#9AA7CB
Tritanopia (blue-blind)
#AAA6AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #afa0cc;
/* rgb */ color: rgb(175, 160, 204);
/* oklch */ color: oklch(73.4% 0.065 300.4);
Tailwind
colors: {
  custom: {
    50: '#c7bcdb',
    500: '#afa0cc',
    950: '#000000',
  },
}
SCSS
$custom: #afa0cc;
$custom-light: #c7bcdb;
$custom-dark: #000000;
JSON
{
  "hex": "#afa0cc",
  "rgb": {
    "r": 175,
    "g": 160,
    "b": 204
  },
  "hsl": {
    "h": 260.455,
    "s": 30.137,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7336,
    "c": 0.0647,
    "h": 300.4
  },
  "luminance": 0.38615
}

Semantic roles & 50–950 ramp

primary
#AFA0CC
secondary
#E6EADE
accent
#A93D84
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #AFA0CC

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

Preview Lab → · Contrast checker → · Palette generator →

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