#CD72D9#CD72D9

#CD72D9 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.173 H 322.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CD72D9
RGBrgb(205, 114, 217)
HSLhsl(293, 58%, 65%)
HSVhsv(293, 47%, 85%)
CMYKcmyk(5.5%, 47.5%, 0%, 14.9%)
CIE-LABlab(61.68, 51.15, -37.97)
CIE-LCHlch(61.68, 63.70, 323.41°)
OKLaboklab(69.07% 0.1379 -0.1046)
OKLCHoklch(69.07% 0.173 322.8)
XYZxyz(43.7172, 30.0254, 69.1249)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72D9 #7ED972
analogous
#9A72D9 #CD72D9 #D972B1
triadic
#CD72D9 #D9CD72 #72D9CD
tetradic
#CD72D9 #D99A72 #7ED972 #72B1D9
square
#CD72D9 #D99A72 #7ED972 #72B1D9
split-complementary
#CD72D9 #B1D972 #72D99A
monochromatic
#962CA4 #BC42CC #CD72D9 #DEA2E6 #EFD2F3

Accessibility & contrast

On white

3.00
#CD72D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CD72D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72D9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72D9#FFFFFF#000000##000000
##CD72D91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDD
Deuteranopia (green-blind)
#7F99D6
Tritanopia (blue-blind)
#D07F9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd72d9;
/* rgb */ color: rgb(205, 114, 217);
/* oklch */ color: oklch(69.1% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#de9de5',
    500: '#cd72d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd72d9;
$custom-light: #de9de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72d9",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 217
  },
  "hsl": {
    "h": 293.01,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69074,
    "c": 0.17307,
    "h": 322.8
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

primary
#CD72D9
secondary
#C6E5C2
accent
#C52034
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD72D9

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

Preview Lab → · Contrast checker → · Palette generator →

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