#AF80BC#AF80BC

#AF80BC is a light, moderate purple. Relative luminance 0.282; OKLCH L 66.7% C 0.101 H 318.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF80BC
RGBrgb(175, 128, 188)
HSLhsl(287, 31%, 62%)
HSVhsv(287, 32%, 74%)
CMYKcmyk(6.9%, 31.9%, 0%, 26.3%)
CIE-LABlab(60.05, 28.76, -24.39)
CIE-LCHlch(60.05, 37.71, 319.70°)
OKLaboklab(66.7% 0.076 -0.0665)
OKLCHoklch(66.7% 0.101 318.8)
XYZxyz(34.4742, 28.1840, 51.1912)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF80BC #8DBC80
analogous
#9180BC #AF80BC #BC80AB
triadic
#AF80BC #BCAF80 #80BCAF
tetradic
#AF80BC #BC9180 #8DBC80 #80ABBC
square
#AF80BC #BC9180 #8DBC80 #80ABBC
split-complementary
#AF80BC #ABBC80 #80BC91
monochromatic
#72437F #9658A7 #AF80BC #C8A8D1 #E1D0E6

Accessibility & contrast

On white

3.16
#AF80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#AF80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF80BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF80BC#FFFFFF#000000##000000
##AF80BC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EBE
Deuteranopia (green-blind)
#8392BA
Tritanopia (blue-blind)
#B08796
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #af80bc;
/* rgb */ color: rgb(175, 128, 188);
/* oklch */ color: oklch(66.7% 0.101 318.8);
Tailwind
colors: {
  custom: {
    50: '#c7a5d0',
    500: '#af80bc',
    950: '#000000',
  },
}
SCSS
$custom: #af80bc;
$custom-light: #c7a5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af80bc",
  "rgb": {
    "r": 175,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 287,
    "s": 30.928,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66704,
    "c": 0.10105,
    "h": 318.8
  },
  "luminance": 0.28183
}

Semantic roles & 50–950 ramp

primary
#AF80BC
secondary
#C6D7C1
accent
#AA3C54
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#130F14
muted
#827F82

Preview Lab

Preview with #AF80BC

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

Preview Lab → · Contrast checker → · Palette generator →

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