#CD70C2#CD70C2

#CD70C2 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.7% C 0.155 H 331.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#CD70C2
RGBrgb(205, 112, 194)
HSLhsl(307, 48%, 62%)
HSVhsv(307, 45%, 80%)
CMYKcmyk(0%, 45.4%, 5.4%, 19.6%)
CIE-LABlab(60.31, 47.99, -27.12)
CIE-LCHlch(60.31, 55.12, 330.53°)
OKLaboklab(67.73% 0.1364 -0.0736)
OKLCHoklch(67.73% 0.155 331.6)
XYZxyz(40.7083, 28.4648, 54.3785)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD70C2 #70CD7B
analogous
#AA70CD #CD70C2 #CD7093
triadic
#CD70C2 #C2CD70 #70C2CD
tetradic
#CD70C2 #CDAA70 #70CD7B #7093CD
square
#CD70C2 #CDAA70 #70CD7B #7093CD
split-complementary
#CD70C2 #93CD70 #70CDAA
monochromatic
#903285 #BD43AF #CD70C2 #DD9DD5 #EDCBE9

Accessibility & contrast

On white

3.14
#CD70C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#CD70C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD70C2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD70C2#FFFFFF#000000##000000
##CD70C21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#8796BF
Tritanopia (blue-blind)
#D47690
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd70c2;
/* rgb */ color: rgb(205, 112, 194);
/* oklch */ color: oklch(67.7% 0.155 331.6);
Tailwind
colors: {
  custom: {
    50: '#de9cd4',
    500: '#cd70c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd70c2;
$custom-light: #de9cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd70c2",
  "rgb": {
    "r": 205,
    "g": 112,
    "b": 194
  },
  "hsl": {
    "h": 307.097,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.15503,
    "h": 331.6
  },
  "luminance": 0.28463
}

Semantic roles & 50–950 ramp

primary
#CD70C2
secondary
#BBDDBF
accent
#BB3B2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD70C2

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

Preview Lab → · Contrast checker → · Palette generator →

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