#CD72F8#CD72F8

#CD72F8 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 70.7% C 0.204 H 313.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CD72F8
RGBrgb(205, 114, 248)
HSLhsl(281, 91%, 71%)
HSVhsv(281, 54%, 97%)
CMYKcmyk(17.3%, 54%, 0%, 2.7%)
CIE-LABlab(63.17, 57.29, -52.84)
CIE-LCHlch(63.17, 77.94, 317.31°)
OKLaboklab(70.66% 0.1412 -0.1477)
OKLCHoklch(70.66% 0.204 313.7)
XYZxyz(48.1346, 31.7924, 92.3897)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72F8 #9DF872
analogous
#8A72F8 #CD72F8 #F872E0
triadic
#CD72F8 #F8CD72 #72F8CD
tetradic
#CD72F8 #F88A72 #9DF872 #72E0F8
square
#CD72F8 #F88A72 #9DF872 #72E0F8
split-complementary
#CD72F8 #E0F872 #72F88A
monochromatic
#9F0BE4 #B838F5 #CD72F8 #E2ACFB #F5E2FE

Accessibility & contrast

On white

2.85
#CD72F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CD72F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72F8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72F8#FFFFFF#000000##000000
##CD72F81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6E9BF5
Tritanopia (blue-blind)
#C988AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd72f8;
/* rgb */ color: rgb(205, 114, 248);
/* oklch */ color: oklch(70.7% 0.204 313.7);
Tailwind
colors: {
  custom: {
    50: '#df9efb',
    500: '#cd72f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd72f8;
$custom-light: #df9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72f8",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 280.746,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70664,
    "c": 0.20438,
    "h": 313.7
  },
  "luminance": 0.31791
}

Semantic roles & 50–950 ramp

primary
#CD72F8
secondary
#DDF5D1
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F17
muted
#847E85

Preview Lab

Preview with #CD72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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