#CD72E1#CD72E1

#CD72E1 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.181 H 320.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CD72E1
RGBrgb(205, 114, 225)
HSLhsl(289, 65%, 66%)
HSVhsv(289, 49%, 88%)
CMYKcmyk(8.9%, 49.3%, 0%, 11.8%)
CIE-LABlab(62.04, 52.68, -41.87)
CIE-LCHlch(62.04, 67.29, 321.52°)
OKLaboklab(69.47% 0.139 -0.1159)
OKLCHoklch(69.47% 0.181 320.2)
XYZxyz(44.7831, 30.4518, 74.7384)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E1 #86E172
analogous
#9672E1 #CD72E1 #E172BE
triadic
#CD72E1 #E1CD72 #72E1CD
tetradic
#CD72E1 #E19672 #86E172 #72BEE1
square
#CD72E1 #E19672 #86E172 #72BEE1
split-complementary
#CD72E1 #BEE172 #72E196
monochromatic
#9926B3 #BB40D6 #CD72E1 #DFA4EC #F1D7F6

Accessibility & contrast

On white

2.96
#CD72E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD72E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E1#FFFFFF#000000##000000
##CD72E11.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6090E5
Deuteranopia (green-blind)
#7B99DE
Tritanopia (blue-blind)
#CE819F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd72e1;
/* rgb */ color: rgb(205, 114, 225);
/* oklch */ color: oklch(69.5% 0.181 320.2);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cd72e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e1;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e1",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 289.189,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69465,
    "c": 0.18096,
    "h": 320.2
  },
  "luminance": 0.3045
}

Semantic roles & 50–950 ramp

primary
#CD72E1
secondary
#CCE9C5
accent
#CD1939
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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