#CD72FC#CD72FC

#CD72FC is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.9% C 0.209 H 312.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CD72FC
RGBrgb(205, 114, 252)
HSLhsl(280, 96%, 72%)
HSVhsv(280, 55%, 99%)
CMYKcmyk(18.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(63.38, 58.12, -54.71)
CIE-LCHlch(63.38, 79.82, 316.73°)
OKLaboklab(70.88% 0.1415 -0.1532)
OKLCHoklch(70.88% 0.209 312.7)
XYZxyz(48.7618, 32.0433, 95.6929)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72FC #A1FC72
analogous
#8872FC #CD72FC #FC72E6
triadic
#CD72FC #FCCD72 #72FCCD
tetradic
#CD72FC #FC8872 #A1FC72 #72E6FC
square
#CD72FC #FC8872 #A1FC72 #72E6FC
split-complementary
#CD72FC #E6FC72 #72FC88
monochromatic
#9F05EF #B836FB #CD72FC #E2AEFD #F4E1FE

Accessibility & contrast

On white

2.83
#CD72FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CD72FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72FC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72FC#FFFFFF#000000##000000
##CD72FC1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#6B9CF9
Tritanopia (blue-blind)
#C88AAC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd72fc;
/* rgb */ color: rgb(205, 114, 252);
/* oklch */ color: oklch(70.9% 0.209 312.7);
Tailwind
colors: {
  custom: {
    50: '#df9efe',
    500: '#cd72fc',
    950: '#000000',
  },
}
SCSS
$custom: #cd72fc;
$custom-light: #df9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72fc",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 279.565,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70884,
    "c": 0.20852,
    "h": 312.7
  },
  "luminance": 0.32042
}

Semantic roles & 50–950 ramp

primary
#CD72FC
secondary
#DFF6D3
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD72FC

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

Preview Lab → · Contrast checker → · Palette generator →

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