#CD72FB#CD72FB

#CD72FB is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.8% C 0.207 H 313.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD72FB
RGBrgb(205, 114, 251)
HSLhsl(280, 94%, 72%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.3%, 54.6%, 0%, 1.6%)
CIE-LABlab(63.33, 57.91, -54.25)
CIE-LCHlch(63.33, 79.35, 316.87°)
OKLaboklab(70.83% 0.1414 -0.1518)
OKLCHoklch(70.83% 0.207 313)
XYZxyz(48.6037, 31.9800, 94.8605)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72FB #A0FB72
analogous
#8972FB #CD72FB #FB72E5
triadic
#CD72FB #FBCD72 #72FBCD
tetradic
#CD72FB #FB8972 #A0FB72 #72E5FB
square
#CD72FB #FB8972 #A0FB72 #72E5FB
split-complementary
#CD72FB #E5FB72 #72FB89
monochromatic
#9F07EC #B836F9 #CD72FB #E2AEFD #F4E1FE

Accessibility & contrast

On white

2.84
#CD72FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD72FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72FB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72FB#FFFFFF#000000##000000
##CD72FB1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#6C9BF8
Tritanopia (blue-blind)
#C989AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd72fb;
/* rgb */ color: rgb(205, 114, 251);
/* oklch */ color: oklch(70.8% 0.207 313.0);
Tailwind
colors: {
  custom: {
    50: '#df9efd',
    500: '#cd72fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd72fb;
$custom-light: #df9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72fb",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 279.854,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.20748,
    "h": 313
  },
  "luminance": 0.31979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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