#CD70D9#CD70D9

#CD70D9 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.176 H 322.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CD70D9
RGBrgb(205, 112, 217)
HSLhsl(293, 58%, 65%)
HSVhsv(293, 48%, 85%)
CMYKcmyk(5.5%, 48.4%, 0%, 14.9%)
CIE-LABlab(61.29, 52.16, -38.57)
CIE-LCHlch(61.29, 64.87, 323.52°)
OKLaboklab(68.79% 0.1406 -0.1064)
OKLCHoklch(68.79% 0.176 322.9)
XYZxyz(43.4941, 29.5792, 69.0505)
Luminance0.2958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70D9 #7CD970
analogous
#9970D9 #CD70D9 #D970B1
triadic
#CD70D9 #D9CD70 #70D9CD
tetradic
#CD70D9 #D99970 #7CD970 #70B1D9
square
#CD70D9 #D99970 #7CD970 #70B1D9
split-complementary
#CD70D9 #B1D970 #70D999
monochromatic
#962BA3 #BC40CC #CD70D9 #DEA0E6 #EFD1F3

Accessibility & contrast

On white

3.04
#CD70D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#CD70D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70D9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70D9#FFFFFF#000000##000000
##CD70D91.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDD
Deuteranopia (green-blind)
#7D98D6
Tritanopia (blue-blind)
#D07D9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd70d9;
/* rgb */ color: rgb(205, 112, 217);
/* oklch */ color: oklch(68.8% 0.176 322.9);
Tailwind
colors: {
  custom: {
    50: '#de9ce5',
    500: '#cd70d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd70d9;
$custom-light: #de9ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70d9",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 217
  },
  "hsl": {
    "h": 293.143,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68787,
    "c": 0.17631,
    "h": 322.9
  },
  "luminance": 0.29577
}

Semantic roles & 50–950 ramp

primary
#CD70D9
secondary
#C4E5C0
accent
#C62033
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD70D9

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

Preview Lab → · Contrast checker → · Palette generator →

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