#CD72E6#CD72E6

#CD72E6 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.186 H 318.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD72E6
RGBrgb(205, 114, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 50%, 90%)
CMYKcmyk(10.9%, 50.4%, 0%, 9.8%)
CIE-LABlab(62.28, 53.66, -44.28)
CIE-LCHlch(62.28, 69.57, 320.47°)
OKLaboklab(69.72% 0.1396 -0.1229)
OKLCHoklch(69.72% 0.186 318.6)
XYZxyz(45.4752, 30.7286, 78.3833)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E6 #8BE672
analogous
#9372E6 #CD72E6 #E672C5
triadic
#CD72E6 #E6CD72 #72E6CD
tetradic
#CD72E6 #E69372 #8BE672 #72C5E6
square
#CD72E6 #E69372 #8BE672 #72C5E6
split-complementary
#CD72E6 #C5E672 #72E693
monochromatic
#9B21BC #BB3EDD #CD72E6 #DFA6EF #F2DAF8

Accessibility & contrast

On white

2.94
#CD72E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD72E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E6#FFFFFF#000000##000000
##CD72E61.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#789AE3
Tritanopia (blue-blind)
#CD83A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72e6;
/* rgb */ color: rgb(205, 114, 230);
/* oklch */ color: oklch(69.7% 0.186 318.6);
Tailwind
colors: {
  custom: {
    50: '#de9eee',
    500: '#cd72e6',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e6;
$custom-light: #de9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e6",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 287.069,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.18598,
    "h": 318.6
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#CD72E6
secondary
#D0ECC8
accent
#D2143D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E6

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

Preview Lab → · Contrast checker → · Palette generator →

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