#CC6FED#CC6FED

#CC6FED is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.5% C 0.197 H 316.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CC6FED
RGBrgb(204, 111, 237)
HSLhsl(284, 78%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(13.9%, 53.2%, 0%, 7.1%)
CIE-LABlab(61.93, 56.28, -48.73)
CIE-LCHlch(61.93, 74.45, 319.11°)
OKLaboklab(69.55% 0.1431 -0.1358)
OKLCHoklch(69.55% 0.197 316.5)
XYZxyz(45.8701, 30.3222, 83.5408)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FED #90ED6F
analogous
#8D6FED #CC6FED #ED6FCF
triadic
#CC6FED #EDCC6F #6FEDCC
tetradic
#CC6FED #ED8D6F #90ED6F #6FCFED
square
#CC6FED #ED8D6F #90ED6F #6FCFED
split-complementary
#CC6FED #CFED6F #6FED8D
monochromatic
#9B19C9 #B939E6 #CC6FED #DFA5F4 #F3DCFB

Accessibility & contrast

On white

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

On black

7.06
#CC6FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FED
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FED#FFFFFF#000000##000000
##CC6FED1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#CB83A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc6fed;
/* rgb */ color: rgb(204, 111, 237);
/* oklch */ color: oklch(69.5% 0.197 316.5);
Tailwind
colors: {
  custom: {
    50: '#de9cf3',
    500: '#cc6fed',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fed;
$custom-light: #de9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fed",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 284.286,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69546,
    "c": 0.19726,
    "h": 316.5
  },
  "luminance": 0.30321
}

Semantic roles & 50–950 ramp

primary
#CC6FED
secondary
#D3EFC9
accent
#DA0B42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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