#AF73CA#AF73CA

#AF73CA is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.1% C 0.140 H 314.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF73CA
RGBrgb(175, 115, 202)
HSLhsl(281, 45%, 62%)
HSVhsv(281, 43%, 79%)
CMYKcmyk(13.4%, 43.1%, 0%, 20.8%)
CIE-LABlab(57.69, 38.91, -35.99)
CIE-LCHlch(57.69, 53.01, 317.23°)
OKLaboklab(65.11% 0.0986 -0.0996)
OKLCHoklch(65.11% 0.14 314.7)
XYZxyz(34.4689, 25.6405, 58.9990)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CA #8ECA73
analogous
#8373CA #AF73CA #CA73BA
triadic
#AF73CA #CAAF73 #73CAAF
tetradic
#AF73CA #CA8373 #8ECA73 #73BACA
square
#AF73CA #CA8373 #8ECA73 #73BACA
split-complementary
#AF73CA #BACA73 #73CA83
monochromatic
#72358D #9647B9 #AF73CA #C89FDB #E2CCEC

Accessibility & contrast

On white

3.43
#AF73CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#AF73CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CA#FFFFFF#000000##000000
##AF73CA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#AD7F95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73ca;
/* rgb */ color: rgb(175, 115, 202);
/* oklch */ color: oklch(65.1% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#c89cda',
    500: '#af73ca',
    950: '#000000',
  },
}
SCSS
$custom: #af73ca;
$custom-light: #c89cda;
$custom-dark: #000000;
JSON
{
  "hex": "#af73ca",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 281.379,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65115,
    "c": 0.14012,
    "h": 314.7
  },
  "luminance": 0.2564
}

Semantic roles & 50–950 ramp

primary
#AF73CA
secondary
#C6DCBC
accent
#B82D58
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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