#AF73C8#AF73C8

#AF73C8 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.0% C 0.138 H 315.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF73C8
RGBrgb(175, 115, 200)
HSLhsl(282, 44%, 62%)
HSVhsv(282, 43%, 78%)
CMYKcmyk(12.5%, 42.5%, 0%, 21.6%)
CIE-LABlab(57.60, 38.49, -35.00)
CIE-LCHlch(57.60, 52.02, 317.72°)
OKLaboklab(65.02% 0.0982 -0.0967)
OKLCHoklch(65.02% 0.138 315.4)
XYZxyz(34.2337, 25.5464, 57.7600)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF73C8 #8CC873
analogous
#8573C8 #AF73C8 #C873B7
triadic
#AF73C8 #C8AF73 #73C8AF
tetradic
#AF73C8 #C88573 #8CC873 #73B7C8
square
#AF73C8 #C88573 #8CC873 #73B7C8
split-complementary
#AF73C8 #B7C873 #73C885
monochromatic
#72368A #9648B6 #AF73C8 #C89FD9 #E1CBEB

Accessibility & contrast

On white

3.44
#AF73C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AF73C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF73C8
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF73C8#FFFFFF#000000##000000
##AF73C81.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CB
Deuteranopia (green-blind)
#748CC6
Tritanopia (blue-blind)
#AE7F94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af73c8;
/* rgb */ color: rgb(175, 115, 200);
/* oklch */ color: oklch(65.0% 0.138 315.4);
Tailwind
colors: {
  custom: {
    50: '#c89cd9',
    500: '#af73c8',
    950: '#000000',
  },
}
SCSS
$custom: #af73c8;
$custom-light: #c89cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af73c8",
  "rgb": {
    "r": 175,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 282.353,
    "s": 43.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.13784,
    "h": 315.4
  },
  "luminance": 0.25546
}

Semantic roles & 50–950 ramp

primary
#AF73C8
secondary
#C5DBBC
accent
#B72F57
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF73C8

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

Preview Lab → · Contrast checker → · Palette generator →

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