#AF72D5#AF72D5

#AF72D5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.5% C 0.154 H 311.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF72D5
RGBrgb(175, 114, 213)
HSLhsl(277, 54%, 64%)
HSVhsv(277, 46%, 84%)
CMYKcmyk(17.8%, 46.5%, 0%, 16.5%)
CIE-LABlab(57.99, 41.84, -41.74)
CIE-LCHlch(57.99, 59.10, 315.06°)
OKLaboklab(65.51% 0.1018 -0.1162)
OKLCHoklch(65.51% 0.154 311.2)
XYZxyz(35.7046, 25.9533, 66.0665)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF72D5 #98D572
analogous
#7E72D5 #AF72D5 #D572C9
triadic
#AF72D5 #D5AF72 #72D5AF
tetradic
#AF72D5 #D57E72 #98D572 #72C9D5
square
#AF72D5 #D57E72 #98D572 #72C9D5
split-complementary
#AF72D5 #C9D572 #72D57E
monochromatic
#732F9E #9443C7 #AF72D5 #CAA1E3 #E5D0F1

Accessibility & contrast

On white

3.39
#AF72D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#AF72D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF72D5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF72D5#FFFFFF#000000##000000
##AF72D51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#6C8DD2
Tritanopia (blue-blind)
#AB8199
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #af72d5;
/* rgb */ color: rgb(175, 114, 213);
/* oklch */ color: oklch(65.5% 0.154 311.2);
Tailwind
colors: {
  custom: {
    50: '#c99ce2',
    500: '#af72d5',
    950: '#000000',
  },
}
SCSS
$custom: #af72d5;
$custom-light: #c99ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#af72d5",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 276.97,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.15447,
    "h": 311.2
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#AF72D5
secondary
#CDE3C0
accent
#C22460
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AF72D5

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

Preview Lab → · Contrast checker → · Palette generator →

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