#AF72BB#AF72BB

#AF72BB is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.2% C 0.125 H 320.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF72BB
RGBrgb(175, 114, 187)
HSLhsl(290, 35%, 59%)
HSVhsv(290, 39%, 73%)
CMYKcmyk(6.4%, 39%, 0%, 26.7%)
CIE-LABlab(56.82, 36.35, -28.81)
CIE-LCHlch(56.82, 46.39, 321.60°)
OKLaboklab(64.24% 0.097 -0.079)
OKLCHoklch(64.24% 0.125 320.8)
XYZxyz(32.6651, 24.7375, 50.0582)
Luminance0.2474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72BB #7EBB72
analogous
#8B72BB #AF72BB #BB72A3
triadic
#AF72BB #BBAF72 #72BBAF
tetradic
#AF72BB #BB8B72 #7EBB72 #72A3BB
square
#AF72BB #BB8B72 #7EBB72 #72A3BB
split-complementary
#AF72BB #A3BB72 #72BB8B
monochromatic
#6E3A78 #944EA2 #AF72BB #C69BCF #DEC5E3

Accessibility & contrast

On white

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

On black

5.95
#AF72BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72BB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72BB#FFFFFF#000000##000000
##AF72BB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#788BB9
Tritanopia (blue-blind)
#B07B8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #af72bb;
/* rgb */ color: rgb(175, 114, 187);
/* oklch */ color: oklch(64.2% 0.125 320.8);
Tailwind
colors: {
  custom: {
    50: '#c89ccf',
    500: '#af72bb',
    950: '#000000',
  },
}
SCSS
$custom: #af72bb;
$custom-light: #c89ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#af72bb",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 290.137,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64242,
    "c": 0.12512,
    "h": 320.8
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#AF72BB
secondary
#BBD3B6
accent
#CB5D6F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF72BB

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

Preview Lab → · Contrast checker → · Palette generator →

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