#AF72BE#AF72BE

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

Color values

HEX#AF72BE
RGBrgb(175, 114, 190)
HSLhsl(288, 37%, 60%)
HSVhsv(288, 40%, 75%)
CMYKcmyk(7.9%, 40%, 0%, 25.5%)
CIE-LABlab(56.95, 36.96, -30.33)
CIE-LCHlch(56.95, 47.81, 320.63°)
OKLaboklab(64.38% 0.0977 -0.0833)
OKLCHoklch(64.38% 0.128 319.5)
XYZxyz(32.9896, 24.8673, 51.7673)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72BE #81BE72
analogous
#8972BE #AF72BE #BE72A7
triadic
#AF72BE #BEAF72 #72BEAF
tetradic
#AF72BE #BE8972 #81BE72 #72A7BE
square
#AF72BE #BE8972 #81BE72 #72A7BE
split-complementary
#AF72BE #A7BE72 #72BE89
monochromatic
#6F397C #954DA6 #AF72BE #C79CD1 #DFC6E5

Accessibility & contrast

On white

3.52
#AF72BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#AF72BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72BE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72BE#FFFFFF#000000##000000
##AF72BE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#B07B8F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #af72be;
/* rgb */ color: rgb(175, 114, 190);
/* oklch */ color: oklch(64.4% 0.128 319.5);
Tailwind
colors: {
  custom: {
    50: '#c89cd2',
    500: '#af72be',
    950: '#000000',
  },
}
SCSS
$custom: #af72be;
$custom-light: #c89cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af72be",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 190
  },
  "hsl": {
    "h": 288.158,
    "s": 36.893,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.12839,
    "h": 319.5
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#AF72BE
secondary
#BDD5B7
accent
#CD5B71
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #AF72BE

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

Preview Lab → · Contrast checker → · Palette generator →

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