#CD72E7#CD72E7

#CD72E7 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.187 H 318.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD72E7
RGBrgb(205, 114, 231)
HSLhsl(287, 71%, 68%)
HSVhsv(287, 51%, 91%)
CMYKcmyk(11.3%, 50.6%, 0%, 9.4%)
CIE-LABlab(62.33, 53.86, -44.77)
CIE-LCHlch(62.33, 70.03, 320.27°)
OKLaboklab(69.77% 0.1397 -0.1243)
OKLCHoklch(69.77% 0.187 318.4)
XYZxyz(45.6160, 30.7849, 79.1250)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E7 #8CE772
analogous
#9372E7 #CD72E7 #E772C6
triadic
#CD72E7 #E7CD72 #72E7CD
tetradic
#CD72E7 #E79372 #8CE772 #72C6E7
square
#CD72E7 #E79372 #8CE772 #72C6E7
split-complementary
#CD72E7 #C6E772 #72E793
monochromatic
#9B20BE #BA3EDE #CD72E7 #E0A6F0 #F2DBF9

Accessibility & contrast

On white

2.93
#CD72E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD72E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E7#FFFFFF#000000##000000
##CD72E71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd72e7;
/* rgb */ color: rgb(205, 114, 231);
/* oklch */ color: oklch(69.8% 0.187 318.4);
Tailwind
colors: {
  custom: {
    50: '#de9eef',
    500: '#cd72e7',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e7;
$custom-light: #de9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e7",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 286.667,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.18698,
    "h": 318.4
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#CD72E7
secondary
#D0EDC8
accent
#D3133D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E7

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

Preview Lab → · Contrast checker → · Palette generator →

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