#AF73CD#AF73CD

#AF73CD is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.3% C 0.144 H 313.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF73CD
RGBrgb(175, 115, 205)
HSLhsl(280, 47%, 63%)
HSVhsv(280, 44%, 80%)
CMYKcmyk(14.6%, 43.9%, 0%, 19.6%)
CIE-LABlab(57.83, 39.55, -37.48)
CIE-LCHlch(57.83, 54.49, 316.54°)
OKLaboklab(65.26% 0.0991 -0.1039)
OKLCHoklch(65.26% 0.144 313.7)
XYZxyz(34.8276, 25.7840, 60.8879)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73CD #91CD73
analogous
#8273CD #AF73CD #CD73BE
triadic
#AF73CD #CDAF73 #73CDAF
tetradic
#AF73CD #CD8273 #91CD73 #73BECD
square
#AF73CD #CD8273 #91CD73 #73BECD
split-complementary
#AF73CD #BECD73 #73CD82
monochromatic
#723492 #9546BD #AF73CD #C9A0DD #E3CDED

Accessibility & contrast

On white

3.41
#AF73CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#AF73CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73CD#FFFFFF#000000##000000
##AF73CD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D0
Deuteranopia (green-blind)
#718DCA
Tritanopia (blue-blind)
#AD8096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af73cd;
/* rgb */ color: rgb(175, 115, 205);
/* oklch */ color: oklch(65.3% 0.144 313.7);
Tailwind
colors: {
  custom: {
    50: '#c89cdc',
    500: '#af73cd',
    950: '#000000',
  },
}
SCSS
$custom: #af73cd;
$custom-light: #c89cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#af73cd",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 280,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65263,
    "c": 0.14356,
    "h": 313.7
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#AF73CD
secondary
#C8DEBE
accent
#BB2B5B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF73CD

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

Preview Lab → · Contrast checker → · Palette generator →

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