#CD72D8#CD72D8

#CD72D8 is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.0% C 0.172 H 323.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD72D8
RGBrgb(205, 114, 216)
HSLhsl(294, 57%, 65%)
HSVhsv(294, 47%, 85%)
CMYKcmyk(5.1%, 47.2%, 0%, 15.3%)
CIE-LABlab(61.63, 50.96, -37.48)
CIE-LCHlch(61.63, 63.26, 323.67°)
OKLaboklab(69.03% 0.1377 -0.1032)
OKLCHoklch(69.03% 0.172 323.1)
XYZxyz(43.5876, 29.9736, 68.4419)
Luminance0.2997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72D8 #7DD872
analogous
#9A72D8 #CD72D8 #D872B0
triadic
#CD72D8 #D8CD72 #72D8CD
tetradic
#CD72D8 #D89A72 #7DD872 #72B0D8
square
#CD72D8 #D89A72 #7DD872 #72B0D8
split-complementary
#CD72D8 #B0D872 #72D89A
monochromatic
#962DA3 #BC42CB #CD72D8 #DEA2E5 #EFD2F3

Accessibility & contrast

On white

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

On black

6.99
#CD72D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD72D8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72D8#FFFFFF#000000##000000
##CD72D81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#658EDB
Deuteranopia (green-blind)
#7F99D5
Tritanopia (blue-blind)
#D07E9B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd72d8;
/* rgb */ color: rgb(205, 114, 216);
/* oklch */ color: oklch(69.0% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#de9de4',
    500: '#cd72d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd72d8;
$custom-light: #de9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72d8",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 293.529,
    "s": 56.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.17209,
    "h": 323.1
  },
  "luminance": 0.29972
}

Semantic roles & 50–950 ramp

primary
#CD72D8
secondary
#C5E4C1
accent
#C42133
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CD72D8

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

Preview Lab → · Contrast checker → · Palette generator →

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