#CD70CE#CD70CE

#CD70CE is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.3% C 0.166 H 326.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CD70CE
RGBrgb(205, 112, 206)
HSLhsl(299, 49%, 62%)
HSVhsv(299, 46%, 81%)
CMYKcmyk(0.5%, 45.6%, 0%, 19.2%)
CIE-LABlab(60.80, 50.12, -33.14)
CIE-LCHlch(60.80, 60.08, 326.53°)
OKLaboklab(68.27% 0.1388 -0.0908)
OKLCHoklch(68.27% 0.166 326.8)
XYZxyz(42.1108, 29.0258, 61.7650)
Luminance0.2902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70CE #71CE70
analogous
#9E70CE #CD70CE #CE70A0
triadic
#CD70CE #CECD70 #70CECD
tetradic
#CD70CE #CE9E70 #71CE70 #70A0CE
square
#CD70CE #CE9E70 #71CE70 #70A0CE
split-complementary
#CD70CE #A0CE70 #70CE9E
monochromatic
#913292 #BD42BE #CD70CE #DD9EDE #EDCBED

Accessibility & contrast

On white

3.09
#CD70CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CD70CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70CE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70CE#FFFFFF#000000##000000
##CD70CE1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD1
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#D27A95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd70ce;
/* rgb */ color: rgb(205, 112, 206);
/* oklch */ color: oklch(68.3% 0.166 326.8);
Tailwind
colors: {
  custom: {
    50: '#de9cdd',
    500: '#cd70ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd70ce;
$custom-light: #de9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70ce",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 206
  },
  "hsl": {
    "h": 299.362,
    "s": 48.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68268,
    "c": 0.16586,
    "h": 326.8
  },
  "luminance": 0.29024
}

Semantic roles & 50–950 ramp

primary
#CD70CE
secondary
#BCDEBC
accent
#BC292B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD70CE

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

Preview Lab → · Contrast checker → · Palette generator →

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