#CD72E9#CD72E9

#CD72E9 is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.189 H 317.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD72E9
RGBrgb(205, 114, 233)
HSLhsl(286, 73%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(12%, 51.1%, 0%, 8.6%)
CIE-LABlab(62.42, 54.25, -45.73)
CIE-LCHlch(62.42, 70.95, 319.87°)
OKLaboklab(69.87% 0.1399 -0.127)
OKLCHoklch(69.87% 0.189 317.8)
XYZxyz(45.9001, 30.8986, 80.6212)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E9 #8EE972
analogous
#9172E9 #CD72E9 #E972CA
triadic
#CD72E9 #E9CD72 #72E9CD
tetradic
#CD72E9 #E99172 #8EE972 #72CAE9
square
#CD72E9 #E99172 #8EE972 #72CAE9
split-complementary
#CD72E9 #CAE972 #72E991
monochromatic
#9C1EC2 #BA3DE1 #CD72E9 #E0A7F1 #F3DCFA

Accessibility & contrast

On white

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

On black

7.18
#CD72E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E9#FFFFFF#000000##000000
##CD72E91.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91ED
Deuteranopia (green-blind)
#779AE6
Tritanopia (blue-blind)
#CD84A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72e9;
/* rgb */ color: rgb(205, 114, 233);
/* oklch */ color: oklch(69.9% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#df9ef0',
    500: '#cd72e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e9;
$custom-light: #df9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e9",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 285.882,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.189,
    "h": 317.8
  },
  "luminance": 0.30897
}

Semantic roles & 50–950 ramp

primary
#CD72E9
secondary
#D2EEC9
accent
#D5103F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E9

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

Preview Lab → · Contrast checker → · Palette generator →

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