#CD72FF#CD72FF

#CD72FF is a light, highly saturated violet. Relative luminance 0.322; OKLCH L 71.1% C 0.212 H 312.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CD72FF
RGBrgb(205, 114, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 55%, 100%)
CMYKcmyk(19.6%, 55.3%, 0%, 0%)
CIE-LABlab(63.54, 58.74, -56.11)
CIE-LCHlch(63.54, 81.24, 316.31°)
OKLaboklab(71.05% 0.1416 -0.1573)
OKLCHoklch(71.05% 0.212 312)
XYZxyz(49.2409, 32.2349, 98.2164)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD72FF #A4FF72
analogous
#8672FF #CD72FF #FF72EB
triadic
#CD72FF #FFCD72 #72FFCD
tetradic
#CD72FF #FF8672 #A4FF72 #72EBFF
square
#CD72FF #FF8672 #A4FF72 #72EBFF
split-complementary
#CD72FF #EBFF72 #72FF86
monochromatic
#9F00F7 #B735FF #CD72FF #E3AFFF #F4E0FF

Accessibility & contrast

On white

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

On black

7.45
#CD72FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD72FF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD72FF#FFFFFF#000000##000000
##CD72FF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#C88BAE
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd72ff;
/* rgb */ color: rgb(205, 114, 255);
/* oklch */ color: oklch(71.1% 0.212 312.0);
Tailwind
colors: {
  custom: {
    50: '#df9eff',
    500: '#cd72ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd72ff;
$custom-light: #df9eff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd72ff",
  "rgb": {
    "r": 205,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 278.723,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71051,
    "c": 0.21163,
    "h": 312
  },
  "luminance": 0.32234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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