#CD72D1#CD72D1

#CD72D1 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.165 H 325.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CD72D1
RGBrgb(205, 114, 209)
HSLhsl(297, 51%, 63%)
HSVhsv(297, 45%, 82%)
CMYKcmyk(1.9%, 45.5%, 0%, 18%)
CIE-LABlab(61.32, 49.65, -34.02)
CIE-LCHlch(61.32, 60.19, 325.58°)
OKLaboklab(68.7% 0.1365 -0.0933)
OKLCHoklch(68.7% 0.165 325.6)
XYZxyz(42.7018, 29.6193, 63.7771)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72D1 #76D172
analogous
#9D72D1 #CD72D1 #D172A5
triadic
#CD72D1 #D1CD72 #72D1CD
tetradic
#CD72D1 #D19D72 #76D172 #72A5D1
square
#CD72D1 #D19D72 #76D172 #72A5D1
split-complementary
#CD72D1 #A5D172 #72D19D
monochromatic
#933197 #BD44C2 #CD72D1 #DDA0E0 #EECEEF

Accessibility & contrast

On white

3.03
#CD72D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#CD72D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD72D1
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72D1#FFFFFF#000000##000000
##CD72D11.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD4
Deuteranopia (green-blind)
#8298CE
Tritanopia (blue-blind)
#D17C98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd72d1;
/* rgb */ color: rgb(205, 114, 209);
/* oklch */ color: oklch(68.7% 0.165 325.6);
Tailwind
colors: {
  custom: {
    50: '#de9ddf',
    500: '#cd72d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd72d1;
$custom-light: #de9ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72d1",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 209
  },
  "hsl": {
    "h": 297.474,
    "s": 50.802,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68697,
    "c": 0.16536,
    "h": 325.6
  },
  "luminance": 0.29617
}

Semantic roles & 50–950 ramp

primary
#CD72D1
secondary
#C0E0BE
accent
#BE272E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD72D1

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

Preview Lab → · Contrast checker → · Palette generator →

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