#CC6FEE#CC6FEE

#CC6FEE is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.6% C 0.198 H 316.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CC6FEE
RGBrgb(204, 111, 238)
HSLhsl(284, 79%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14.3%, 53.4%, 0%, 6.7%)
CIE-LABlab(61.98, 56.48, -49.21)
CIE-LCHlch(61.98, 74.91, 318.94°)
OKLaboklab(69.6% 0.1432 -0.1371)
OKLCHoklch(69.6% 0.198 316.2)
XYZxyz(46.0166, 30.3808, 84.3124)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FEE #91EE6F
analogous
#8C6FEE #CC6FEE #EE6FD0
triadic
#CC6FEE #EECC6F #6FEECC
tetradic
#CC6FEE #EE8C6F #91EE6F #6FD0EE
square
#CC6FEE #EE8C6F #91EE6F #6FD0EE
split-complementary
#CC6FEE #D0EE6F #6FEE8C
monochromatic
#9B18CB #B938E8 #CC6FEE #DFA6F4 #F3DCFB

Accessibility & contrast

On white

2.97
#CC6FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CC6FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FEE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FEE#FFFFFF#000000##000000
##CC6FEE1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#7199EB
Tritanopia (blue-blind)
#CA83A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6fee;
/* rgb */ color: rgb(204, 111, 238);
/* oklch */ color: oklch(69.6% 0.198 316.2);
Tailwind
colors: {
  custom: {
    50: '#de9cf4',
    500: '#cc6fee',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fee;
$custom-light: #de9cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fee",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 283.937,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69599,
    "c": 0.19828,
    "h": 316.2
  },
  "luminance": 0.30379
}

Semantic roles & 50–950 ramp

primary
#CC6FEE
secondary
#D4F0C9
accent
#DB0A42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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