#CD72EE#CD72EE

#CD72EE is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.1% C 0.194 H 316.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD72EE
RGBrgb(205, 114, 238)
HSLhsl(284, 78%, 69%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(13.9%, 52.1%, 0%, 6.7%)
CIE-LABlab(62.67, 55.25, -48.12)
CIE-LCHlch(62.67, 73.27, 318.95°)
OKLaboklab(70.13% 0.1404 -0.134)
OKLCHoklch(70.13% 0.194 316.4)
XYZxyz(46.6245, 31.1883, 84.4363)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72EE #93EE72
analogous
#8F72EE #CD72EE #EE72D1
triadic
#CD72EE #EECD72 #72EECD
tetradic
#CD72EE #EE8F72 #93EE72 #72D1EE
square
#CD72EE #EE8F72 #93EE72 #72D1EE
split-complementary
#CD72EE #D1EE72 #72EE8F
monochromatic
#9D19CD #BA3BE7 #CD72EE #E0A9F5 #F4DFFB

Accessibility & contrast

On white

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

On black

7.24
#CD72EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72EE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72EE#FFFFFF#000000##000000
##CD72EE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F2
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#CC85A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd72ee;
/* rgb */ color: rgb(205, 114, 238);
/* oklch */ color: oklch(70.1% 0.194 316.4);
Tailwind
colors: {
  custom: {
    50: '#df9ef4',
    500: '#cd72ee',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ee;
$custom-light: #df9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ee",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 284.032,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70129,
    "c": 0.19409,
    "h": 316.4
  },
  "luminance": 0.31187
}

Semantic roles & 50–950 ramp

primary
#CD72EE
secondary
#D5F0CC
accent
#DB0B42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72EE

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

Preview Lab → · Contrast checker → · Palette generator →

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