#CD70D5#CD70D5

#CD70D5 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.6% C 0.172 H 324.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CD70D5
RGBrgb(205, 112, 213)
HSLhsl(295, 55%, 64%)
HSVhsv(295, 47%, 84%)
CMYKcmyk(3.8%, 47.4%, 0%, 16.5%)
CIE-LABlab(61.11, 51.41, -36.61)
CIE-LCHlch(61.11, 63.11, 324.55°)
OKLaboklab(68.6% 0.14 -0.1007)
OKLCHoklch(68.6% 0.172 324.3)
XYZxyz(42.9801, 29.3736, 66.3436)
Luminance0.2937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70D5 #78D570
analogous
#9A70D5 #CD70D5 #D570AA
triadic
#CD70D5 #D5CD70 #70D5CD
tetradic
#CD70D5 #D59A70 #78D570 #70AAD5
square
#CD70D5 #D59A70 #78D570 #70AAD5
split-complementary
#CD70D5 #AAD570 #70D59A
monochromatic
#942E9D #BC41C7 #CD70D5 #DE9FE3 #EECFF1

Accessibility & contrast

On white

3.05
#CD70D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CD70D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70D5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70D5#FFFFFF#000000##000000
##CD70D51.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#648CD8
Deuteranopia (green-blind)
#7F97D2
Tritanopia (blue-blind)
#D17C99
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd70d5;
/* rgb */ color: rgb(205, 112, 213);
/* oklch */ color: oklch(68.6% 0.172 324.3);
Tailwind
colors: {
  custom: {
    50: '#de9ce2',
    500: '#cd70d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd70d5;
$custom-light: #de9ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70d5",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 213
  },
  "hsl": {
    "h": 295.248,
    "s": 54.595,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68595,
    "c": 0.17246,
    "h": 324.3
  },
  "luminance": 0.29372
}

Semantic roles & 50–950 ramp

primary
#CD70D5
secondary
#C1E2BF
accent
#C22330
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD70D5

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

Preview Lab → · Contrast checker → · Palette generator →

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