#CC6FEF#CC6FEF

#CC6FEF is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.7% C 0.199 H 316.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC6FEF
RGBrgb(204, 111, 239)
HSLhsl(284, 80%, 69%)
HSVhsv(284, 54%, 94%)
CMYKcmyk(14.6%, 53.6%, 0%, 6.3%)
CIE-LABlab(62.03, 56.69, -49.68)
CIE-LCHlch(62.03, 75.38, 318.77°)
OKLaboklab(69.65% 0.1433 -0.1385)
OKLCHoklch(69.65% 0.199 316)
XYZxyz(46.1639, 30.4397, 85.0883)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FEF #92EF6F
analogous
#8C6FEF #CC6FEF #EF6FD2
triadic
#CC6FEF #EFCC6F #6FEFCC
tetradic
#CC6FEF #EF8C6F #92EF6F #6FD2EF
square
#CC6FEF #EF8C6F #92EF6F #6FD2EF
split-complementary
#CC6FEF #D2EF6F #6FEF8C
monochromatic
#9B17CD #B838E9 #CC6FEF #E0A6F5 #F3DDFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC6FEF#FFFFFF#000000##000000
##CC6FEF1.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)
#5190F3
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#CA83A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6fef;
/* rgb */ color: rgb(204, 111, 239);
/* oklch */ color: oklch(69.7% 0.199 316.0);
Tailwind
colors: {
  custom: {
    50: '#de9cf5',
    500: '#cc6fef',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fef;
$custom-light: #de9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fef",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 283.594,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.19929,
    "h": 316
  },
  "luminance": 0.30438
}

Semantic roles & 50–950 ramp

primary
#CC6FEF
secondary
#D4F0CA
accent
#DC0943
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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