#CD70DC#CD70DC

#CD70DC is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.179 H 321.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CD70DC
RGBrgb(205, 112, 220)
HSLhsl(292, 61%, 65%)
HSVhsv(292, 49%, 86%)
CMYKcmyk(6.8%, 49.1%, 0%, 13.7%)
CIE-LABlab(61.43, 52.73, -40.04)
CIE-LCHlch(61.43, 66.21, 322.79°)
OKLaboklab(68.93% 0.1411 -0.1106)
OKLCHoklch(68.93% 0.179 321.9)
XYZxyz(43.8879, 29.7367, 71.1242)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70DC #7FDC70
analogous
#9770DC #CD70DC #DC70B5
triadic
#CD70DC #DCCD70 #70DCCD
tetradic
#CD70DC #DC9770 #7FDC70 #70B5DC
square
#CD70DC #DC9770 #7FDC70 #70B5DC
split-complementary
#CD70DC #B5DC70 #70DC97
monochromatic
#9729A8 #BC3FD0 #CD70DC #DEA1E8 #EFD2F4

Accessibility & contrast

On white

3.02
#CD70DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CD70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70DC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70DC#FFFFFF#000000##000000
##CD70DC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#CF7E9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd70dc;
/* rgb */ color: rgb(205, 112, 220);
/* oklch */ color: oklch(68.9% 0.179 321.9);
Tailwind
colors: {
  custom: {
    50: '#de9ce7',
    500: '#cd70dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd70dc;
$custom-light: #de9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70dc",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 291.667,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.17924,
    "h": 321.9
  },
  "luminance": 0.29735
}

Semantic roles & 50–950 ramp

primary
#CD70DC
secondary
#C7E6C2
accent
#C81D35
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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