#CC6CFA#CC6CFA

#CC6CFA is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.9% C 0.215 H 313.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC6CFA
RGBrgb(204, 108, 250)
HSLhsl(281, 93%, 70%)
HSVhsv(281, 57%, 98%)
CMYKcmyk(18.4%, 56.8%, 0%, 2%)
CIE-LABlab(62.05, 60.39, -55.73)
CIE-LCHlch(62.05, 82.17, 317.30°)
OKLaboklab(69.85% 0.1477 -0.1561)
OKLCHoklch(69.85% 0.215 313.4)
XYZxyz(47.5168, 30.4659, 93.8014)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6CFA #9AFA6C
analogous
#856CFA #CC6CFA #FA6CE1
triadic
#CC6CFA #FACC6C #6CFACC
tetradic
#CC6CFA #FA856C #9AFA6C #6CE1FA
square
#CC6CFA #FA856C #9AFA6C #6CE1FA
split-complementary
#CC6CFA #E1FA6C #6CFA85
monochromatic
#9D08E4 #B731F8 #CC6CFA #E1A7FC #F5E1FE

Accessibility & contrast

On white

2.96
#CC6CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC6CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6CFA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6CFA#FFFFFF#000000##000000
##CC6CFA1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FF
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#C885A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6cfa;
/* rgb */ color: rgb(204, 108, 250);
/* oklch */ color: oklch(69.9% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#df9afc',
    500: '#cc6cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cc6cfa;
$custom-light: #df9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6cfa",
  "rgb": {
    "r": 204,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 280.563,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69854,
    "c": 0.21492,
    "h": 313.4
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#CC6CFA
secondary
#DAF5CD
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CC6CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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