#CD70D2#CD70D2

#CD70D2 is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.5% C 0.170 H 325.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CD70D2
RGBrgb(205, 112, 210)
HSLhsl(297, 52%, 63%)
HSVhsv(297, 47%, 82%)
CMYKcmyk(2.4%, 46.7%, 0%, 17.6%)
CIE-LABlab(60.98, 50.85, -35.12)
CIE-LCHlch(60.98, 61.80, 325.37°)
OKLaboklab(68.45% 0.1395 -0.0965)
OKLCHoklch(68.45% 0.17 325.3)
XYZxyz(42.6029, 29.2227, 64.3568)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70D2 #75D270
analogous
#9C70D2 #CD70D2 #D270A6
triadic
#CD70D2 #D2CD70 #70D2CD
tetradic
#CD70D2 #D29C70 #75D270 #70A6D2
square
#CD70D2 #D29C70 #75D270 #70A6D2
split-complementary
#CD70D2 #A6D270 #70D29C
monochromatic
#933098 #BD41C3 #CD70D2 #DD9FE1 #EECDEF

Accessibility & contrast

On white

3.07
#CD70D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CD70D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70D2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70D2#FFFFFF#000000##000000
##CD70D21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#658CD5
Deuteranopia (green-blind)
#8097CF
Tritanopia (blue-blind)
#D17B97
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd70d2;
/* rgb */ color: rgb(205, 112, 210);
/* oklch */ color: oklch(68.5% 0.170 325.3);
Tailwind
colors: {
  custom: {
    50: '#de9ce0',
    500: '#cd70d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd70d2;
$custom-light: #de9ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70d2",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 296.939,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68454,
    "c": 0.16961,
    "h": 325.3
  },
  "luminance": 0.29221
}

Semantic roles & 50–950 ramp

primary
#CD70D2
secondary
#BFE0BD
accent
#C0262E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD70D2

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

Preview Lab → · Contrast checker → · Palette generator →

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