#AF72CB#AF72CB

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

Color values

HEX#AF72CB
RGBrgb(175, 114, 203)
HSLhsl(281, 46%, 62%)
HSVhsv(281, 44%, 80%)
CMYKcmyk(13.8%, 43.8%, 0%, 20.4%)
CIE-LABlab(57.52, 39.67, -36.83)
CIE-LCHlch(57.52, 54.13, 317.13°)
OKLaboklab(65% 0.1002 -0.102)
OKLCHoklch(65% 0.143 314.5)
XYZxyz(34.4743, 25.4612, 59.5868)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CB #8ECB72
analogous
#8372CB #AF72CB #CB72BA
triadic
#AF72CB #CBAF72 #72CBAF
tetradic
#AF72CB #CB8372 #8ECB72 #72BACB
square
#AF72CB #CB8372 #8ECB72 #72BACB
split-complementary
#AF72CB #BACB72 #72CB83
monochromatic
#72348E #9645BB #AF72CB #C89FDB #E2CBEC

Accessibility & contrast

On white

3.45
#AF72CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#AF72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CB#FFFFFF#000000##000000
##AF72CB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#718CC8
Tritanopia (blue-blind)
#AD7F95
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72cb;
/* rgb */ color: rgb(175, 114, 203);
/* oklch */ color: oklch(65.0% 0.143 314.5);
Tailwind
colors: {
  custom: {
    50: '#c89cdb',
    500: '#af72cb',
    950: '#000000',
  },
}
SCSS
$custom: #af72cb;
$custom-light: #c89cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#af72cb",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 281.124,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65001,
    "c": 0.14298,
    "h": 314.5
  },
  "luminance": 0.2546
}

Semantic roles & 50–950 ramp

primary
#AF72CB
secondary
#C6DDBC
accent
#B92C59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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