#CD72FE#CD72FE

#CD72FE is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 71.0% C 0.211 H 312.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CD72FE
RGBrgb(205, 114, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 55%, 100%)
CMYKcmyk(19.3%, 55.1%, 0%, 0.4%)
CIE-LABlab(63.48, 58.54, -55.65)
CIE-LCHlch(63.48, 80.76, 316.45°)
OKLaboklab(70.99% 0.1416 -0.1559)
OKLCHoklch(70.99% 0.211 312.2)
XYZxyz(49.0804, 32.1707, 97.3708)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72FE #A3FE72
analogous
#8772FE #CD72FE #FE72E9
triadic
#CD72FE #FECD72 #72FECD
tetradic
#CD72FE #FE8772 #A3FE72 #72E9FE
square
#CD72FE #FE8772 #A3FE72 #72E9FE
split-complementary
#CD72FE #E9FE72 #72FE87
monochromatic
#9F02F4 #B735FE #CD72FE #E3AFFE #F4E1FF

Accessibility & contrast

On white

2.82
#CD72FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CD72FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72FE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72FE#FFFFFF#000000##000000
##CD72FE1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd72fe;
/* rgb */ color: rgb(205, 114, 254);
/* oklch */ color: oklch(71.0% 0.211 312.2);
Tailwind
colors: {
  custom: {
    50: '#df9eff',
    500: '#cd72fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd72fe;
$custom-light: #df9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72fe",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 279,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.21059,
    "h": 312.2
  },
  "luminance": 0.3217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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