#AF72BC#AF72BC

#AF72BC is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.3% C 0.126 H 320.4°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF72BC
RGBrgb(175, 114, 188)
HSLhsl(289, 36%, 59%)
HSVhsv(289, 39%, 74%)
CMYKcmyk(6.9%, 39.4%, 0%, 26.3%)
CIE-LABlab(56.86, 36.56, -29.32)
CIE-LCHlch(56.86, 46.86, 321.27°)
OKLaboklab(64.29% 0.0972 -0.0804)
OKLCHoklch(64.29% 0.126 320.4)
XYZxyz(32.7725, 24.7805, 50.6240)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72BC #7FBC72
analogous
#8A72BC #AF72BC #BC72A4
triadic
#AF72BC #BCAF72 #72BCAF
tetradic
#AF72BC #BC8A72 #7FBC72 #72A4BC
square
#AF72BC #BC8A72 #7FBC72 #72A4BC
split-complementary
#AF72BC #A4BC72 #72BC8A
monochromatic
#6F3A7A #944EA3 #AF72BC #C79BD0 #DEC5E3

Accessibility & contrast

On white

3.53
#AF72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#AF72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72BC#FFFFFF#000000##000000
##AF72BC1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#B07B8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af72bc;
/* rgb */ color: rgb(175, 114, 188);
/* oklch */ color: oklch(64.3% 0.126 320.4);
Tailwind
colors: {
  custom: {
    50: '#c89cd0',
    500: '#af72bc',
    950: '#000000',
  },
}
SCSS
$custom: #af72bc;
$custom-light: #c89cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af72bc",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 289.459,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.12621,
    "h": 320.4
  },
  "luminance": 0.24779
}

Semantic roles & 50–950 ramp

primary
#AF72BC
secondary
#BCD3B6
accent
#CC5C70
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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