#CC70EE#CC70EE

#CC70EE is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.197 H 316.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC70EE
RGBrgb(204, 112, 238)
HSLhsl(284, 79%, 69%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14.3%, 52.9%, 0%, 6.7%)
CIE-LABlab(62.17, 55.99, -48.91)
CIE-LCHlch(62.17, 74.34, 318.86°)
OKLaboklab(69.74% 0.1419 -0.1363)
OKLCHoklch(69.74% 0.197 316.2)
XYZxyz(46.1263, 30.6002, 84.3490)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70EE #92EE70
analogous
#8D70EE #CC70EE #EE70D1
triadic
#CC70EE #EECC70 #70EECC
tetradic
#CC70EE #EE8D70 #92EE70 #70D1EE
square
#CC70EE #EE8D70 #92EE70 #70D1EE
split-complementary
#CC70EE #D1EE70 #70EE8D
monochromatic
#9B18CB #B839E7 #CC70EE #E0A7F5 #F3DDFB

Accessibility & contrast

On white

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

On black

7.12
#CC70EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70EE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70EE#FFFFFF#000000##000000
##CC70EE1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#CA84A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc70ee;
/* rgb */ color: rgb(204, 112, 238);
/* oklch */ color: oklch(69.7% 0.197 316.2);
Tailwind
colors: {
  custom: {
    50: '#de9cf4',
    500: '#cc70ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc70ee;
$custom-light: #de9cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70ee",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 283.81,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69737,
    "c": 0.19674,
    "h": 316.2
  },
  "luminance": 0.30599
}

Semantic roles & 50–950 ramp

primary
#CC70EE
secondary
#D4F0CA
accent
#DB0A43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC70EE

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

Preview Lab → · Contrast checker → · Palette generator →

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