#CC70ED#CC70ED

#CC70ED is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.7% C 0.196 H 316.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CC70ED
RGBrgb(204, 112, 237)
HSLhsl(284, 78%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(13.9%, 52.7%, 0%, 7.1%)
CIE-LABlab(62.12, 55.79, -48.43)
CIE-LCHlch(62.12, 73.88, 319.04°)
OKLaboklab(69.68% 0.1418 -0.1349)
OKLCHoklch(69.68% 0.196 316.4)
XYZxyz(45.9798, 30.5416, 83.5774)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70ED #91ED70
analogous
#8D70ED #CC70ED #ED70CF
triadic
#CC70ED #EDCC70 #70EDCC
tetradic
#CC70ED #ED8D70 #91ED70 #70CFED
square
#CC70ED #ED8D70 #91ED70 #70CFED
split-complementary
#CC70ED #CFED70 #70ED8D
monochromatic
#9B19C9 #B93AE6 #CC70ED #DFA6F4 #F3DDFB

Accessibility & contrast

On white

2.95
#CC70ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CC70ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70ED
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70ED#FFFFFF#000000##000000
##CC70ED1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#7299EA
Tritanopia (blue-blind)
#CB83A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc70ed;
/* rgb */ color: rgb(204, 112, 237);
/* oklch */ color: oklch(69.7% 0.196 316.4);
Tailwind
colors: {
  custom: {
    50: '#de9cf3',
    500: '#cc70ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc70ed;
$custom-light: #de9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70ed",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 284.16,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69684,
    "c": 0.19572,
    "h": 316.4
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#CC70ED
secondary
#D4EFCA
accent
#DA0C42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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