#CD72EA#CD72EA

#CD72EA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.9% C 0.190 H 317.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CD72EA
RGBrgb(205, 114, 234)
HSLhsl(286, 74%, 68%)
HSVhsv(286, 51%, 92%)
CMYKcmyk(12.4%, 51.3%, 0%, 8.2%)
CIE-LABlab(62.47, 54.45, -46.21)
CIE-LCHlch(62.47, 71.41, 319.68°)
OKLaboklab(69.92% 0.1401 -0.1284)
OKLCHoklch(69.92% 0.19 317.5)
XYZxyz(46.0433, 30.9559, 81.3756)
Luminance0.3095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72EA #8FEA72
analogous
#9172EA #CD72EA #EA72CB
triadic
#CD72EA #EACD72 #72EACD
tetradic
#CD72EA #EA9172 #8FEA72 #72CBEA
square
#CD72EA #EA9172 #8FEA72 #72CBEA
split-complementary
#CD72EA #CBEA72 #72EA91
monochromatic
#9C1DC4 #BA3DE2 #CD72EA #E0A7F2 #F3DDFA

Accessibility & contrast

On white

2.92
#CD72EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CD72EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72EA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72EA#FFFFFF#000000##000000
##CD72EA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#CC84A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72ea;
/* rgb */ color: rgb(205, 114, 234);
/* oklch */ color: oklch(69.9% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#df9ef1',
    500: '#cd72ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ea;
$custom-light: #df9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ea",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 285.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.19002,
    "h": 317.5
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#CD72EA
secondary
#D2EECA
accent
#D60F3F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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