#CD72EF#CD72EF

#CD72EF is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.2% C 0.195 H 316.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CD72EF
RGBrgb(205, 114, 239)
HSLhsl(284, 80%, 69%)
HSVhsv(284, 52%, 94%)
CMYKcmyk(14.2%, 52.3%, 0%, 6.3%)
CIE-LABlab(62.72, 55.45, -48.59)
CIE-LCHlch(62.72, 73.73, 318.77°)
OKLaboklab(70.18% 0.1405 -0.1354)
OKLCHoklch(70.18% 0.195 316.1)
XYZxyz(46.7718, 31.2472, 85.2121)
Luminance0.3125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72EF #94EF72
analogous
#8F72EF #CD72EF #EF72D3
triadic
#CD72EF #EFCD72 #72EFCD
tetradic
#CD72EF #EF8F72 #94EF72 #72D3EF
square
#CD72EF #EF8F72 #94EF72 #72D3EF
split-complementary
#CD72EF #D3EF72 #72EF8F
monochromatic
#9D18CF #BA3BE9 #CD72EF #E0A9F5 #F4E0FB

Accessibility & contrast

On white

2.90
#CD72EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CD72EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72EF
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72EF#FFFFFF#000000##000000
##CD72EF1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#CB85A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd72ef;
/* rgb */ color: rgb(205, 114, 239);
/* oklch */ color: oklch(70.2% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#df9ef5',
    500: '#cd72ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ef;
$custom-light: #df9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ef",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 283.68,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70182,
    "c": 0.19512,
    "h": 316.1
  },
  "luminance": 0.31246
}

Semantic roles & 50–950 ramp

primary
#CD72EF
secondary
#D6F1CC
accent
#DC0A43
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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