#CD72FD#CD72FD

#CD72FD is a light, highly saturated violet. Relative luminance 0.321; OKLCH L 70.9% C 0.210 H 312.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CD72FD
RGBrgb(205, 114, 253)
HSLhsl(279, 97%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19%, 54.9%, 0%, 0.8%)
CIE-LABlab(63.43, 58.33, -55.18)
CIE-LCHlch(63.43, 80.29, 316.59°)
OKLaboklab(70.94% 0.1415 -0.1545)
OKLCHoklch(70.94% 0.21 312.5)
XYZxyz(48.9207, 32.1068, 96.5296)
Luminance0.3211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72FD #A2FD72
analogous
#8872FD #CD72FD #FD72E7
triadic
#CD72FD #FDCD72 #72FDCD
tetradic
#CD72FD #FD8872 #A2FD72 #72E7FD
square
#CD72FD #FD8872 #A2FD72 #72E7FD
split-complementary
#CD72FD #E7FD72 #72FD88
monochromatic
#9F03F1 #B836FC #CD72FD #E2AEFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.42
#CD72FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72FD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72FD#FFFFFF#000000##000000
##CD72FD1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#C88AAD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd72fd;
/* rgb */ color: rgb(205, 114, 253);
/* oklch */ color: oklch(70.9% 0.210 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9eff',
    500: '#cd72fd',
    950: '#000000',
  },
}
SCSS
$custom: #cd72fd;
$custom-light: #df9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72fd",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 279.281,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7094,
    "c": 0.20956,
    "h": 312.5
  },
  "luminance": 0.32106
}

Semantic roles & 50–950 ramp

primary
#CD72FD
secondary
#E0F7D4
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD72FD

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

Preview Lab → · Contrast checker → · Palette generator →

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