#CC70F5#CC70F5

#CC70F5 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.1% C 0.204 H 314.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC70F5
RGBrgb(204, 112, 245)
HSLhsl(282, 87%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16.7%, 54.3%, 0%, 3.9%)
CIE-LABlab(62.52, 57.41, -52.22)
CIE-LCHlch(62.52, 77.61, 317.71°)
OKLaboklab(70.11% 0.1424 -0.1459)
OKLCHoklch(70.11% 0.204 314.3)
XYZxyz(47.1748, 31.0196, 89.8708)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70F5 #99F570
analogous
#8A70F5 #CC70F5 #F570DB
triadic
#CC70F5 #F5CC70 #70F5CC
tetradic
#CC70F5 #F58A70 #99F570 #70DBF5
square
#CC70F5 #F58A70 #99F570 #70DBF5
split-complementary
#CC70F5 #DBF570 #70F58A
monochromatic
#9C0FDB #B837F1 #CC70F5 #E0A9F9 #F5E2FD

Accessibility & contrast

On white

2.92
#CC70F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC70F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70F5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70F5#FFFFFF#000000##000000
##CC70F51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#C986A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc70f5;
/* rgb */ color: rgb(204, 112, 245);
/* oklch */ color: oklch(70.1% 0.204 314.3);
Tailwind
colors: {
  custom: {
    50: '#de9cf9',
    500: '#cc70f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc70f5;
$custom-light: #de9cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70f5",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 281.504,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.70113,
    "c": 0.2039,
    "h": 314.3
  },
  "luminance": 0.31018
}

Semantic roles & 50–950 ramp

primary
#CC70F5
secondary
#D9F3CE
accent
#E30248
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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