#CC70E8#CC70E8

#CC70E8 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.191 H 317.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CC70E8
RGBrgb(204, 112, 232)
HSLhsl(286, 72%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.1%, 51.7%, 0%, 9%)
CIE-LABlab(61.87, 54.79, -46.05)
CIE-LCHlch(61.87, 71.57, 319.96°)
OKLaboklab(69.42% 0.1413 -0.128)
OKLCHoklch(69.42% 0.191 317.8)
XYZxyz(45.2595, 30.2535, 79.7837)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70E8 #8CE870
analogous
#9070E8 #CC70E8 #E870C8
triadic
#CC70E8 #E8CC70 #70E8CC
tetradic
#CC70E8 #E89070 #8CE870 #70C8E8
square
#CC70E8 #E89070 #8CE870 #70C8E8
split-complementary
#CC70E8 #C8E870 #70E890
monochromatic
#9A1FBF #B93BE0 #CC70E8 #DFA5F0 #F2D9F9

Accessibility & contrast

On white

2.98
#CC70E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CC70E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70E8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70E8#FFFFFF#000000##000000
##CC70E81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEC
Deuteranopia (green-blind)
#7599E5
Tritanopia (blue-blind)
#CC82A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc70e8;
/* rgb */ color: rgb(204, 112, 232);
/* oklch */ color: oklch(69.4% 0.191 317.8);
Tailwind
colors: {
  custom: {
    50: '#de9cf0',
    500: '#cc70e8',
    950: '#000000',
  },
}
SCSS
$custom: #cc70e8;
$custom-light: #de9cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70e8",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 286,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69422,
    "c": 0.19066,
    "h": 317.8
  },
  "luminance": 0.30252
}

Semantic roles & 50–950 ramp

primary
#CC70E8
secondary
#D0EDC7
accent
#D4113F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC70E8

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

Preview Lab → · Contrast checker → · Palette generator →

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