#CD72E8#CD72E8

#CD72E8 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.8% C 0.188 H 318.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CD72E8
RGBrgb(205, 114, 232)
HSLhsl(286, 72%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(11.6%, 50.9%, 0%, 9%)
CIE-LABlab(62.37, 54.05, -45.25)
CIE-LCHlch(62.37, 70.49, 320.07°)
OKLaboklab(69.82% 0.1398 -0.1257)
OKLCHoklch(69.82% 0.188 318.1)
XYZxyz(45.7576, 30.8416, 79.8710)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72E8 #8DE872
analogous
#9272E8 #CD72E8 #E872C8
triadic
#CD72E8 #E8CD72 #72E8CD
tetradic
#CD72E8 #E89272 #8DE872 #72C8E8
square
#CD72E8 #E89272 #8DE872 #72C8E8
split-complementary
#CD72E8 #C8E872 #72E892
monochromatic
#9B1FC0 #BA3DDF #CD72E8 #E0A7F1 #F2DBF9

Accessibility & contrast

On white

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

On black

7.17
#CD72E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72E8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72E8#FFFFFF#000000##000000
##CD72E81.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EC
Deuteranopia (green-blind)
#779AE5
Tritanopia (blue-blind)
#CD83A3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd72e8;
/* rgb */ color: rgb(205, 114, 232);
/* oklch */ color: oklch(69.8% 0.188 318.1);
Tailwind
colors: {
  custom: {
    50: '#de9ef0',
    500: '#cd72e8',
    950: '#000000',
  },
}
SCSS
$custom: #cd72e8;
$custom-light: #de9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72e8",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 286.271,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69818,
    "c": 0.18799,
    "h": 318.1
  },
  "luminance": 0.3084
}

Semantic roles & 50–950 ramp

primary
#CD72E8
secondary
#D1EDC9
accent
#D4113E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CD72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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