#AF72C8#AF72C8

#AF72C8 is a light, vivid purple. Relative luminance 0.253; OKLCH L 64.9% C 0.140 H 315.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF72C8
RGBrgb(175, 114, 200)
HSLhsl(283, 44%, 62%)
HSVhsv(283, 43%, 78%)
CMYKcmyk(12.5%, 43%, 0%, 21.6%)
CIE-LABlab(57.39, 39.04, -35.34)
CIE-LCHlch(57.39, 52.66, 317.85°)
OKLaboklab(64.85% 0.0997 -0.0977)
OKLCHoklch(64.85% 0.14 315.6)
XYZxyz(34.1202, 25.3196, 57.7222)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72C8 #8BC872
analogous
#8472C8 #AF72C8 #C872B6
triadic
#AF72C8 #C8AF72 #72C8AF
tetradic
#AF72C8 #C88472 #8BC872 #72B6C8
square
#AF72C8 #C88472 #8BC872 #72B6C8
split-complementary
#AF72C8 #B6C872 #72C884
monochromatic
#71368A #9647B6 #AF72C8 #C89ED9 #E1CAEA

Accessibility & contrast

On white

3.46
#AF72C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#AF72C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72C8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72C8#FFFFFF#000000##000000
##AF72C81.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#738CC6
Tritanopia (blue-blind)
#AE7E93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72c8;
/* rgb */ color: rgb(175, 114, 200);
/* oklch */ color: oklch(64.9% 0.140 315.6);
Tailwind
colors: {
  custom: {
    50: '#c89cd9',
    500: '#af72c8',
    950: '#000000',
  },
}
SCSS
$custom: #af72c8;
$custom-light: #c89cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#af72c8",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 282.558,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64854,
    "c": 0.13957,
    "h": 315.6
  },
  "luminance": 0.25319
}

Semantic roles & 50–950 ramp

primary
#AF72C8
secondary
#C4DBBB
accent
#B72E56
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AF72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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