#AF73CC#AF73CC

#AF73CC is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.2% C 0.142 H 314.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF73CC
RGBrgb(175, 115, 204)
HSLhsl(280, 47%, 63%)
HSVhsv(280, 44%, 80%)
CMYKcmyk(14.2%, 43.6%, 0%, 20%)
CIE-LABlab(57.79, 39.34, -36.98)
CIE-LCHlch(57.79, 53.99, 316.77°)
OKLaboklab(65.21% 0.0989 -0.1024)
OKLCHoklch(65.21% 0.142 314)
XYZxyz(34.7072, 25.7359, 60.2542)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CC #90CC73
analogous
#8273CC #AF73CC #CC73BD
triadic
#AF73CC #CCAF73 #73CCAF
tetradic
#AF73CC #CC8273 #90CC73 #73BDCC
square
#AF73CC #CC8273 #90CC73 #73BDCC
split-complementary
#AF73CC #BDCC73 #73CC82
monochromatic
#723490 #9546BC #AF73CC #C9A0DC #E2CDED

Accessibility & contrast

On white

3.42
#AF73CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AF73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CC#FFFFFF#000000##000000
##AF73CC1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#AD8096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73cc;
/* rgb */ color: rgb(175, 115, 204);
/* oklch */ color: oklch(65.2% 0.142 314.0);
Tailwind
colors: {
  custom: {
    50: '#c89cdc',
    500: '#af73cc',
    950: '#000000',
  },
}
SCSS
$custom: #af73cc;
$custom-light: #c89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af73cc",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 280.449,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.14241,
    "h": 314
  },
  "luminance": 0.25735
}

Semantic roles & 50–950 ramp

primary
#AF73CC
secondary
#C8DEBD
accent
#BA2C5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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