#CD72EC#CD72EC

#CD72EC is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.192 H 316.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CD72EC
RGBrgb(205, 114, 236)
HSLhsl(285, 76%, 69%)
HSVhsv(285, 52%, 93%)
CMYKcmyk(13.1%, 51.7%, 0%, 7.5%)
CIE-LABlab(62.57, 54.85, -47.16)
CIE-LCHlch(62.57, 72.34, 319.31°)
OKLaboklab(70.02% 0.1403 -0.1312)
OKLCHoklch(70.02% 0.192 316.9)
XYZxyz(46.3323, 31.0714, 82.8974)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72EC #91EC72
analogous
#9072EC #CD72EC #EC72CE
triadic
#CD72EC #ECCD72 #72ECCD
tetradic
#CD72EC #EC9072 #91EC72 #72CEEC
square
#CD72EC #EC9072 #91EC72 #72CEEC
split-complementary
#CD72EC #CEEC72 #72EC90
monochromatic
#9C1BC9 #BA3CE5 #CD72EC #E0A8F3 #F3DEFB

Accessibility & contrast

On white

2.91
#CD72EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CD72EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72EC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72EC#FFFFFF#000000##000000
##CD72EC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#CC84A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72ec;
/* rgb */ color: rgb(205, 114, 236);
/* oklch */ color: oklch(70.0% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#df9ef2',
    500: '#cd72ec',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ec;
$custom-light: #df9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ec",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 284.754,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70024,
    "c": 0.19205,
    "h": 316.9
  },
  "luminance": 0.3107
}

Semantic roles & 50–950 ramp

primary
#CD72EC
secondary
#D4EFCB
accent
#D80D41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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