#CD72ED#CD72ED

#CD72ED is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.1% C 0.193 H 316.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CD72ED
RGBrgb(205, 114, 237)
HSLhsl(284, 77%, 69%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(13.5%, 51.9%, 0%, 7.1%)
CIE-LABlab(62.62, 55.05, -47.64)
CIE-LCHlch(62.62, 72.80, 319.13°)
OKLaboklab(70.08% 0.1404 -0.1326)
OKLCHoklch(70.08% 0.193 316.6)
XYZxyz(46.4780, 31.1297, 83.6647)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72ED #92ED72
analogous
#9072ED #CD72ED #ED72D0
triadic
#CD72ED #EDCD72 #72EDCD
tetradic
#CD72ED #ED9072 #92ED72 #72D0ED
square
#CD72ED #ED9072 #92ED72 #72D0ED
split-complementary
#CD72ED #D0ED72 #72ED90
monochromatic
#9D1ACB #BA3CE6 #CD72ED #E0A8F4 #F3DFFB

Accessibility & contrast

On white

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

On black

7.23
#CD72ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72ED
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72ED#FFFFFF#000000##000000
##CD72ED1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#CC85A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72ed;
/* rgb */ color: rgb(205, 114, 237);
/* oklch */ color: oklch(70.1% 0.193 316.6);
Tailwind
colors: {
  custom: {
    50: '#df9ef3',
    500: '#cd72ed',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ed;
$custom-light: #df9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ed",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 284.39,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70077,
    "c": 0.19308,
    "h": 316.6
  },
  "luminance": 0.31128
}

Semantic roles & 50–950 ramp

primary
#CD72ED
secondary
#D5F0CB
accent
#DA0C41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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