#CC70FE#CC70FE

#CC70FE is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.213 H 312.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CC70FE
RGBrgb(204, 112, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.7%, 55.9%, 0%, 0.4%)
CIE-LABlab(63.00, 59.27, -56.43)
CIE-LCHlch(63.00, 81.84, 316.41°)
OKLaboklab(70.61% 0.1429 -0.1582)
OKLCHoklch(70.61% 0.213 312.1)
XYZxyz(48.5822, 31.5826, 97.2835)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC70FE #A2FE70
analogous
#8570FE #CC70FE #FE70E9
triadic
#CC70FE #FECC70 #70FECC
tetradic
#CC70FE #FE8570 #A2FE70 #70E9FE
square
#CC70FE #FE8570 #A2FE70 #70E9FE
split-complementary
#CC70FE #E9FE70 #70FE85
monochromatic
#9D02F2 #B633FE #CC70FE #E2ADFE #F4E1FF

Accessibility & contrast

On white

2.87
#CC70FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CC70FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC70FE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC70FE#FFFFFF#000000##000000
##CC70FE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#C789AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc70fe;
/* rgb */ color: rgb(204, 112, 254);
/* oklch */ color: oklch(70.6% 0.213 312.1);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cc70fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc70fe;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc70fe",
  "rgb": {
    "r": 204,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 278.873,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70613,
    "c": 0.21317,
    "h": 312.1
  },
  "luminance": 0.31581
}

Semantic roles & 50–950 ramp

primary
#CC70FE
secondary
#E0F7D3
accent
#E60051
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CC70FE

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

Preview Lab → · Contrast checker → · Palette generator →

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