#CD72F7#CD72F7

#CD72F7 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 70.6% C 0.203 H 314.0°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CD72F7
RGBrgb(205, 114, 247)
HSLhsl(281, 89%, 71%)
HSVhsv(281, 54%, 97%)
CMYKcmyk(17%, 53.8%, 0%, 3.1%)
CIE-LABlab(63.12, 57.08, -52.37)
CIE-LCHlch(63.12, 77.47, 317.46°)
OKLaboklab(70.61% 0.1412 -0.1464)
OKLCHoklch(70.61% 0.203 314)
XYZxyz(47.9799, 31.7305, 91.5748)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72F7 #9CF772
analogous
#8A72F7 #CD72F7 #F772DE
triadic
#CD72F7 #F7CD72 #72F7CD
tetradic
#CD72F7 #F78A72 #9CF772 #72DEF7
square
#CD72F7 #F78A72 #9CF772 #72DEF7
split-complementary
#CD72F7 #DEF772 #72F78A
monochromatic
#9F0DE2 #B838F4 #CD72F7 #E2ACFA #F5E2FD

Accessibility & contrast

On white

2.86
#CD72F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CD72F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72F7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72F7#FFFFFF#000000##000000
##CD72F71.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6E9BF4
Tritanopia (blue-blind)
#C988AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd72f7;
/* rgb */ color: rgb(205, 114, 247);
/* oklch */ color: oklch(70.6% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#df9efa',
    500: '#cd72f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd72f7;
$custom-light: #df9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72f7",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 281.053,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.20335,
    "h": 314
  },
  "luminance": 0.31729
}

Semantic roles & 50–950 ramp

primary
#CD72F7
secondary
#DCF4D1
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD72F7

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

Preview Lab → · Contrast checker → · Palette generator →

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