#AF72CA#AF72CA

#AF72CA is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.0% C 0.142 H 314.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF72CA
RGBrgb(175, 114, 202)
HSLhsl(282, 45%, 62%)
HSVhsv(282, 44%, 79%)
CMYKcmyk(13.4%, 43.6%, 0%, 20.8%)
CIE-LABlab(57.48, 39.46, -36.33)
CIE-LCHlch(57.48, 53.64, 317.36°)
OKLaboklab(64.95% 0.1 -0.1006)
OKLCHoklch(64.95% 0.142 314.8)
XYZxyz(34.3555, 25.4137, 58.9612)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72CA #8DCA72
analogous
#8372CA #AF72CA #CA72B9
triadic
#AF72CA #CAAF72 #72CAAF
tetradic
#AF72CA #CA8372 #8DCA72 #72B9CA
square
#AF72CA #CA8372 #8DCA72 #72B9CA
split-complementary
#AF72CA #B9CA72 #72CA83
monochromatic
#72358D #9646B9 #AF72CA #C89EDB #E1CBEB

Accessibility & contrast

On white

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

On black

6.08
#AF72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72CA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72CA#FFFFFF#000000##000000
##AF72CA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#AD7E94
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #af72ca;
/* rgb */ color: rgb(175, 114, 202);
/* oklch */ color: oklch(65.0% 0.142 314.8);
Tailwind
colors: {
  custom: {
    50: '#c89cda',
    500: '#af72ca',
    950: '#000000',
  },
}
SCSS
$custom: #af72ca;
$custom-light: #c89cda;
$custom-dark: #000000;
JSON
{
  "hex": "#af72ca",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 281.591,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64952,
    "c": 0.14184,
    "h": 314.8
  },
  "luminance": 0.25413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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