#CD72E3#CD72E3

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

Color values

HEX#CD72E3
RGBrgb(205, 114, 227)
HSLhsl(288, 67%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(9.7%, 49.8%, 0%, 11%)
CIE-LABlab(62.14, 53.07, -42.84)
CIE-LCHlch(62.14, 68.20, 321.09°)
OKLaboklab(69.56% 0.1392 -0.1187)
OKLCHoklch(69.56% 0.183 319.6)
XYZxyz(45.0575, 30.5615, 76.1837)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E3 #88E372
analogous
#9572E3 #CD72E3 #E372C0
triadic
#CD72E3 #E3CD72 #72E3CD
tetradic
#CD72E3 #E39572 #88E372 #72C0E3
square
#CD72E3 #E39572 #88E372 #72C0E3
split-complementary
#CD72E3 #C0E372 #72E395
monochromatic
#9A24B6 #BB3FD9 #CD72E3 #DFA5ED #F1D8F7

Accessibility & contrast

On white

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

On black

7.11
#CD72E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E3#FFFFFF#000000##000000
##CD72E31.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E90E7
Deuteranopia (green-blind)
#7A99E0
Tritanopia (blue-blind)
#CE82A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd72e3;
/* rgb */ color: rgb(205, 114, 227);
/* oklch */ color: oklch(69.6% 0.183 319.6);
Tailwind
colors: {
  custom: {
    50: '#de9dec',
    500: '#cd72e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e3;
$custom-light: #de9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e3",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 227
  },
  "hsl": {
    "h": 288.319,
    "s": 66.864,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.18296,
    "h": 319.6
  },
  "luminance": 0.3056
}

Semantic roles & 50–950 ramp

primary
#CD72E3
secondary
#CDEAC6
accent
#CF173B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E3

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

Preview Lab → · Contrast checker → · Palette generator →

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