#CC6EEE#CC6EEE

#CC6EEE is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.5% C 0.200 H 316.3°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CC6EEE
RGBrgb(204, 110, 238)
HSLhsl(284, 79%, 68%)
HSVhsv(284, 54%, 93%)
CMYKcmyk(14.3%, 53.8%, 0%, 6.7%)
CIE-LABlab(61.80, 56.98, -49.50)
CIE-LCHlch(61.80, 75.48, 319.02°)
OKLaboklab(69.46% 0.1445 -0.138)
OKLCHoklch(69.46% 0.2 316.3)
XYZxyz(45.9081, 30.1638, 84.2763)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6EEE #90EE6E
analogous
#8C6EEE #CC6EEE #EE6ED0
triadic
#CC6EEE #EECC6E #6EEECC
tetradic
#CC6EEE #EE8C6E #90EE6E #6ED0EE
square
#CC6EEE #EE8C6E #90EE6E #6ED0EE
split-complementary
#CC6EEE #D0EE6E #6EEE8C
monochromatic
#9B18CA #B937E8 #CC6EEE #DFA5F4 #F3DCFB

Accessibility & contrast

On white

2.99
#CC6EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CC6EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6EEE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6EEE#FFFFFF#000000##000000
##CC6EEE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF2
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#CA82A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc6eee;
/* rgb */ color: rgb(204, 110, 238);
/* oklch */ color: oklch(69.5% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#de9bf4',
    500: '#cc6eee',
    950: '#000000',
  },
}
SCSS
$custom: #cc6eee;
$custom-light: #de9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6eee",
  "rgb": {
    "r": 204,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 284.063,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.1998,
    "h": 316.3
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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