#CD70D8#CD70D8

#CD70D8 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.175 H 323.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CD70D8
RGBrgb(205, 112, 216)
HSLhsl(294, 57%, 64%)
HSVhsv(294, 48%, 85%)
CMYKcmyk(5.1%, 48.1%, 0%, 15.3%)
CIE-LABlab(61.24, 51.97, -38.08)
CIE-LCHlch(61.24, 64.43, 323.77°)
OKLaboklab(68.74% 0.1405 -0.1049)
OKLCHoklch(68.74% 0.175 323.2)
XYZxyz(43.3644, 29.5273, 68.3676)
Luminance0.2953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70D8 #7BD870
analogous
#9970D8 #CD70D8 #D870AF
triadic
#CD70D8 #D8CD70 #70D8CD
tetradic
#CD70D8 #D89970 #7BD870 #70AFD8
square
#CD70D8 #D89970 #7BD870 #70AFD8
split-complementary
#CD70D8 #AFD870 #70D899
monochromatic
#952CA2 #BC40CB #CD70D8 #DEA0E5 #EFD0F2

Accessibility & contrast

On white

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

On black

6.90
#CD70D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70D8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70D8#FFFFFF#000000##000000
##CD70D81.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628DDC
Deuteranopia (green-blind)
#7E98D5
Tritanopia (blue-blind)
#D07D9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd70d8;
/* rgb */ color: rgb(205, 112, 216);
/* oklch */ color: oklch(68.7% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#de9ce4',
    500: '#cd70d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd70d8;
$custom-light: #de9ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70d8",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 216
  },
  "hsl": {
    "h": 293.654,
    "s": 57.143,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68739,
    "c": 0.17535,
    "h": 323.2
  },
  "luminance": 0.29525
}

Semantic roles & 50–950 ramp

primary
#CD70D8
secondary
#C4E4C0
accent
#C52132
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CD70D8

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

Preview Lab → · Contrast checker → · Palette generator →

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