#CD72E4#CD72E4

#CD72E4 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.184 H 319.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD72E4
RGBrgb(205, 114, 228)
HSLhsl(288, 68%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(10.1%, 50%, 0%, 10.6%)
CIE-LABlab(62.18, 53.27, -43.32)
CIE-LCHlch(62.18, 68.66, 320.88°)
OKLaboklab(69.62% 0.1394 -0.1201)
OKLCHoklch(69.62% 0.184 319.3)
XYZxyz(45.1959, 30.6169, 76.9127)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E4 #89E472
analogous
#9472E4 #CD72E4 #E472C2
triadic
#CD72E4 #E4CD72 #72E4CD
tetradic
#CD72E4 #E49472 #89E472 #72C2E4
square
#CD72E4 #E49472 #89E472 #72C2E4
split-complementary
#CD72E4 #C2E472 #72E494
monochromatic
#9A23B8 #BB3FDA #CD72E4 #DFA5EE #F1D9F8

Accessibility & contrast

On white

2.95
#CD72E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD72E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E4#FFFFFF#000000##000000
##CD72E41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E8
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#CE82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd72e4;
/* rgb */ color: rgb(205, 114, 228);
/* oklch */ color: oklch(69.6% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#de9eed',
    500: '#cd72e4',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e4;
$custom-light: #de9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e4",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 287.895,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69615,
    "c": 0.18397,
    "h": 319.3
  },
  "luminance": 0.30615
}

Semantic roles & 50–950 ramp

primary
#CD72E4
secondary
#CEEBC7
accent
#D0163B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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