#CD72F1#CD72F1

#CD72F1 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.3% C 0.197 H 315.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD72F1
RGBrgb(205, 114, 241)
HSLhsl(283, 82%, 70%)
HSVhsv(283, 53%, 95%)
CMYKcmyk(14.9%, 52.7%, 0%, 5.5%)
CIE-LABlab(62.82, 55.86, -49.54)
CIE-LCHlch(62.82, 74.66, 318.43°)
OKLaboklab(70.29% 0.1407 -0.1381)
OKLCHoklch(70.29% 0.197 315.5)
XYZxyz(47.0689, 31.3661, 86.7768)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72F1 #96F172
analogous
#8E72F1 #CD72F1 #F172D6
triadic
#CD72F1 #F1CD72 #72F1CD
tetradic
#CD72F1 #F18E72 #96F172 #72D6F1
square
#CD72F1 #F18E72 #96F172 #72D6F1
split-complementary
#CD72F1 #D6F172 #72F18E
monochromatic
#9E15D4 #B93AEB #CD72F1 #E1AAF7 #F4E1FC

Accessibility & contrast

On white

2.89
#CD72F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD72F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72F1
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72F1#FFFFFF#000000##000000
##CD72F11.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F5
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#CB86A7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd72f1;
/* rgb */ color: rgb(205, 114, 241);
/* oklch */ color: oklch(70.3% 0.197 315.5);
Tailwind
colors: {
  custom: {
    50: '#df9ef6',
    500: '#cd72f1',
    950: '#000000',
  },
}
SCSS
$custom: #cd72f1;
$custom-light: #df9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72f1",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 282.992,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70287,
    "c": 0.19716,
    "h": 315.5
  },
  "luminance": 0.31365
}

Semantic roles & 50–950 ramp

primary
#CD72F1
secondary
#D8F2CD
accent
#DE0744
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CD72F1

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

Preview Lab → · Contrast checker → · Palette generator →

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