#CC70F1#CC70F1

#CC70F1 is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.9% C 0.200 H 315.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CC70F1
RGBrgb(204, 112, 241)
HSLhsl(283, 82%, 69%)
HSVhsv(283, 54%, 95%)
CMYKcmyk(15.4%, 53.5%, 0%, 5.5%)
CIE-LABlab(62.32, 56.59, -50.33)
CIE-LCHlch(62.32, 75.74, 318.35°)
OKLaboklab(69.9% 0.1421 -0.1404)
OKLCHoklch(69.9% 0.2 315.3)
XYZxyz(46.5707, 30.7780, 86.6896)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70F1 #95F170
analogous
#8C70F1 #CC70F1 #F170D5
triadic
#CC70F1 #F1CC70 #70F1CC
tetradic
#CC70F1 #F18C70 #95F170 #70D5F1
square
#CC70F1 #F18C70 #95F170 #70D5F1
split-complementary
#CC70F1 #D5F170 #70F18C
monochromatic
#9C15D2 #B838EC #CC70F1 #E0A8F6 #F4DFFC

Accessibility & contrast

On white

2.93
#CC70F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CC70F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70F1
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70F1#FFFFFF#000000##000000
##CC70F11.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#7099EE
Tritanopia (blue-blind)
#CA85A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc70f1;
/* rgb */ color: rgb(204, 112, 241);
/* oklch */ color: oklch(69.9% 0.200 315.3);
Tailwind
colors: {
  custom: {
    50: '#de9cf6',
    500: '#cc70f1',
    950: '#000000',
  },
}
SCSS
$custom: #cc70f1;
$custom-light: #de9cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70f1",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 241
  },
  "hsl": {
    "h": 282.791,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69897,
    "c": 0.1998,
    "h": 315.3
  },
  "luminance": 0.30777
}

Semantic roles & 50–950 ramp

primary
#CC70F1
secondary
#D6F1CC
accent
#DF0745
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC70F1

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

Preview Lab → · Contrast checker → · Palette generator →

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