#CD72E2#CD72E2

#CD72E2 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.182 H 319.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#CD72E2
RGBrgb(205, 114, 226)
HSLhsl(289, 66%, 67%)
HSVhsv(289, 50%, 89%)
CMYKcmyk(9.3%, 49.6%, 0%, 11.4%)
CIE-LABlab(62.09, 52.88, -42.35)
CIE-LCHlch(62.09, 67.75, 321.31°)
OKLaboklab(69.51% 0.1391 -0.1173)
OKLCHoklch(69.51% 0.182 319.9)
XYZxyz(44.9199, 30.5065, 75.4589)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E2 #87E272
analogous
#9572E2 #CD72E2 #E272BF
triadic
#CD72E2 #E2CD72 #72E2CD
tetradic
#CD72E2 #E29572 #87E272 #72BFE2
square
#CD72E2 #E29572 #87E272 #72BFE2
split-complementary
#CD72E2 #BFE272 #72E295
monochromatic
#9A25B4 #BB3FD8 #CD72E2 #DFA5EC #F1D8F7

Accessibility & contrast

On white

2.96
#CD72E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#CD72E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E2#FFFFFF#000000##000000
##CD72E21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F90E6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CE81A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd72e2;
/* rgb */ color: rgb(205, 114, 226);
/* oklch */ color: oklch(69.5% 0.182 319.9);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cd72e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e2;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e2",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 288.75,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69514,
    "c": 0.18196,
    "h": 319.9
  },
  "luminance": 0.30505
}

Semantic roles & 50–950 ramp

primary
#CD72E2
secondary
#CDEAC6
accent
#CE183A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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