#CC70C8#CC70C8

#CC70C8 is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.9% C 0.160 H 328.8°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#CC70C8
RGBrgb(204, 112, 200)
HSLhsl(303, 47%, 62%)
HSVhsv(303, 45%, 80%)
CMYKcmyk(0%, 45.1%, 2%, 20%)
CIE-LABlab(60.43, 48.74, -30.35)
CIE-LCHlch(60.43, 57.42, 328.09°)
OKLaboklab(67.88% 0.1365 -0.0828)
OKLCHoklch(67.88% 0.16 328.8)
XYZxyz(41.1207, 28.5980, 57.9864)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70C8 #70CC74
analogous
#A270CC #CC70C8 #CC709A
triadic
#CC70C8 #C8CC70 #70C8CC
tetradic
#CC70C8 #CCA270 #70CC74 #709ACC
square
#CC70C8 #CCA270 #70CC74 #709ACC
split-complementary
#CC70C8 #9ACC70 #70CCA2
monochromatic
#8F338B #BC43B7 #CC70C8 #DC9DD9 #ECCAEB

Accessibility & contrast

On white

3.13
#CC70C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#CC70C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC70C8
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70C8#FFFFFF#000000##000000
##CC70C81.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#8496C5
Tritanopia (blue-blind)
#D27893
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc70c8;
/* rgb */ color: rgb(204, 112, 200);
/* oklch */ color: oklch(67.9% 0.160 328.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cd9',
    500: '#cc70c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc70c8;
$custom-light: #dd9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70c8",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 302.609,
    "s": 47.423,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.1597,
    "h": 328.8
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

primary
#CC70C8
secondary
#BBDDBC
accent
#BB312B
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CC70C8

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

Preview Lab → · Contrast checker → · Palette generator →

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