#CC70EF#CC70EF

#CC70EF is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.198 H 315.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC70EF
RGBrgb(204, 112, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 53%, 94%)
CMYKcmyk(14.6%, 53.1%, 0%, 6.3%)
CIE-LABlab(62.22, 56.19, -49.38)
CIE-LCHlch(62.22, 74.81, 318.69°)
OKLaboklab(69.79% 0.142 -0.1377)
OKLCHoklch(69.79% 0.198 315.9)
XYZxyz(46.2736, 30.6592, 85.1249)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70EF #93EF70
analogous
#8D70EF #CC70EF #EF70D2
triadic
#CC70EF #EFCC70 #70EFCC
tetradic
#CC70EF #EF8D70 #93EF70 #70D2EF
square
#CC70EF #EF8D70 #93EF70 #70D2EF
split-complementary
#CC70EF #D2EF70 #70EF8D
monochromatic
#9B17CE #B839E9 #CC70EF #E0A7F5 #F3DEFB

Accessibility & contrast

On white

2.94
#CC70EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC70EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70EF
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70EF#FFFFFF#000000##000000
##CC70EF1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc70ef;
/* rgb */ color: rgb(204, 112, 239);
/* oklch */ color: oklch(69.8% 0.198 315.9);
Tailwind
colors: {
  custom: {
    50: '#de9cf5',
    500: '#cc70ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc70ef;
$custom-light: #de9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70ef",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 283.465,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6979,
    "c": 0.19777,
    "h": 315.9
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#CC70EF
secondary
#D5F0CB
accent
#DC0943
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC70EF

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

Preview Lab → · Contrast checker → · Palette generator →

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