#CD72EB#CD72EB

#CD72EB is a light, vivid purple. Relative luminance 0.310; OKLCH L 70.0% C 0.191 H 317.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CD72EB
RGBrgb(205, 114, 235)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 51%, 92%)
CMYKcmyk(12.8%, 51.5%, 0%, 7.8%)
CIE-LABlab(62.52, 54.65, -46.68)
CIE-LCHlch(62.52, 71.88, 319.50°)
OKLaboklab(69.97% 0.1402 -0.1298)
OKLCHoklch(69.97% 0.191 317.2)
XYZxyz(46.1874, 31.0135, 82.1344)
Luminance0.3101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72EB #90EB72
analogous
#9072EB #CD72EB #EB72CC
triadic
#CD72EB #EBCD72 #72EBCD
tetradic
#CD72EB #EB9072 #90EB72 #72CCEB
square
#CD72EB #EB9072 #90EB72 #72CCEB
split-complementary
#CD72EB #CCEB72 #72EB90
monochromatic
#9C1CC6 #BA3CE3 #CD72EB #E0A8F3 #F3DDFA

Accessibility & contrast

On white

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

On black

7.20
#CD72EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72EB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72EB#FFFFFF#000000##000000
##CD72EB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#769AE8
Tritanopia (blue-blind)
#CC84A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72eb;
/* rgb */ color: rgb(205, 114, 235);
/* oklch */ color: oklch(70.0% 0.191 317.2);
Tailwind
colors: {
  custom: {
    50: '#df9ef2',
    500: '#cd72eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd72eb;
$custom-light: #df9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72eb",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 285.124,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.19104,
    "h": 317.2
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#CD72EB
secondary
#D3EFCA
accent
#D70E40
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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