#CC70DC#CC70DC

#CC70DC is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.179 H 321.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CC70DC
RGBrgb(204, 112, 220)
HSLhsl(291, 61%, 65%)
HSVhsv(291, 49%, 86%)
CMYKcmyk(7.3%, 49.1%, 0%, 13.7%)
CIE-LABlab(61.30, 52.45, -40.24)
CIE-LCHlch(61.30, 66.11, 322.50°)
OKLaboklab(68.82% 0.1399 -0.1112)
OKLCHoklch(68.82% 0.179 321.5)
XYZxyz(43.6128, 29.5949, 71.1113)
Luminance0.2959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70DC #80DC70
analogous
#9670DC #CC70DC #DC70B6
triadic
#CC70DC #DCCC70 #70DCCC
tetradic
#CC70DC #DC9670 #80DC70 #70B6DC
square
#CC70DC #DC9670 #80DC70 #70B6DC
split-complementary
#CC70DC #B6DC70 #70DC96
monochromatic
#9629A8 #BA3FD0 #CC70DC #DEA1E8 #EFD2F4

Accessibility & contrast

On white

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

On black

6.92
#CC70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC70DC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70DC#FFFFFF#000000##000000
##CC70DC1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#CE7E9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc70dc;
/* rgb */ color: rgb(204, 112, 220);
/* oklch */ color: oklch(68.8% 0.179 321.5);
Tailwind
colors: {
  custom: {
    50: '#de9ce7',
    500: '#cc70dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc70dc;
$custom-light: #de9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70dc",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 291.111,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68816,
    "c": 0.1787,
    "h": 321.5
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#CC70DC
secondary
#C7E6C2
accent
#C81D37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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