#CD72E5#CD72E5

#CD72E5 is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.7% C 0.185 H 319.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD72E5
RGBrgb(205, 114, 229)
HSLhsl(287, 69%, 67%)
HSVhsv(287, 50%, 90%)
CMYKcmyk(10.5%, 50.2%, 0%, 10.2%)
CIE-LABlab(62.23, 53.46, -43.80)
CIE-LCHlch(62.23, 69.12, 320.67°)
OKLaboklab(69.66% 0.1395 -0.1215)
OKLCHoklch(69.66% 0.185 319)
XYZxyz(45.3352, 30.6726, 77.6459)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E5 #8AE572
analogous
#9372E5 #CD72E5 #E572C4
triadic
#CD72E5 #E5CD72 #72E5CD
tetradic
#CD72E5 #E59372 #8AE572 #72C4E5
square
#CD72E5 #E59372 #8AE572 #72C4E5
split-complementary
#CD72E5 #C4E572 #72E593
monochromatic
#9B22BA #BB3EDB #CD72E5 #DFA6EF #F2D9F8

Accessibility & contrast

On white

2.94
#CD72E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CD72E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E5#FFFFFF#000000##000000
##CD72E51.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E9
Deuteranopia (green-blind)
#799AE2
Tritanopia (blue-blind)
#CD82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd72e5;
/* rgb */ color: rgb(205, 114, 229);
/* oklch */ color: oklch(69.7% 0.185 319.0);
Tailwind
colors: {
  custom: {
    50: '#de9eed',
    500: '#cd72e5',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e5;
$custom-light: #de9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e5",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 287.478,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.18497,
    "h": 319
  },
  "luminance": 0.30671
}

Semantic roles & 50–950 ramp

primary
#CD72E5
secondary
#CFECC7
accent
#D1153C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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