#AF72BF#AF72BF

#AF72BF is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.4% C 0.130 H 319.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF72BF
RGBrgb(175, 114, 191)
HSLhsl(288, 38%, 60%)
HSVhsv(288, 40%, 75%)
CMYKcmyk(8.4%, 40.3%, 0%, 25.1%)
CIE-LABlab(56.99, 37.17, -30.83)
CIE-LCHlch(56.99, 48.29, 320.32°)
OKLaboklab(64.43% 0.0979 -0.0848)
OKLCHoklch(64.43% 0.13 319.1)
XYZxyz(33.0992, 24.9112, 52.3449)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72BF #82BF72
analogous
#8872BF #AF72BF #BF72A9
triadic
#AF72BF #BFAF72 #72BFAF
tetradic
#AF72BF #BF8872 #82BF72 #72A9BF
square
#AF72BF #BF8872 #82BF72 #72A9BF
split-complementary
#AF72BF #A9BF72 #72BF88
monochromatic
#6F397E #954CA8 #AF72BF #C79CD2 #DFC6E5

Accessibility & contrast

On white

3.51
#AF72BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#AF72BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72BF#FFFFFF#000000##000000
##AF72BF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6785C2
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#B07C8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af72bf;
/* rgb */ color: rgb(175, 114, 191);
/* oklch */ color: oklch(64.4% 0.130 319.1);
Tailwind
colors: {
  custom: {
    50: '#c89cd2',
    500: '#af72bf',
    950: '#000000',
  },
}
SCSS
$custom: #af72bf;
$custom-light: #c89cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af72bf",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 287.532,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64426,
    "c": 0.1295,
    "h": 319.1
  },
  "luminance": 0.2491
}

Semantic roles & 50–950 ramp

primary
#AF72BF
secondary
#BED5B8
accent
#CE5A72
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF72BF

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

Preview Lab → · Contrast checker → · Palette generator →

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