#CC6FDD#CC6FDD

#CC6FDD is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.181 H 321.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CC6FDD
RGBrgb(204, 111, 221)
HSLhsl(291, 62%, 65%)
HSVhsv(291, 50%, 87%)
CMYKcmyk(7.7%, 49.8%, 0%, 13.3%)
CIE-LABlab(61.16, 53.14, -41.03)
CIE-LCHlch(61.16, 67.14, 322.33°)
OKLaboklab(68.72% 0.1414 -0.1135)
OKLCHoklch(68.72% 0.181 321.3)
XYZxyz(43.6359, 29.4285, 71.7743)
Luminance0.2943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FDD #80DD6F
analogous
#956FDD #CC6FDD #DD6FB7
triadic
#CC6FDD #DDCC6F #6FDDCC
tetradic
#CC6FDD #DD956F #80DD6F #6FB7DD
square
#CC6FDD #DD956F #80DD6F #6FB7DD
split-complementary
#CC6FDD #B7DD6F #6FDD95
monochromatic
#9628AA #BA3DD1 #CC6FDD #DEA1E9 #EFD2F4

Accessibility & contrast

On white

3.05
#CC6FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CC6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FDD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FDD#FFFFFF#000000##000000
##CC6FDD1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE1
Deuteranopia (green-blind)
#7A97DA
Tritanopia (blue-blind)
#CE7E9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6fdd;
/* rgb */ color: rgb(204, 111, 221);
/* oklch */ color: oklch(68.7% 0.181 321.3);
Tailwind
colors: {
  custom: {
    50: '#de9be8',
    500: '#cc6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fdd;
$custom-light: #de9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fdd",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 290.727,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68723,
    "c": 0.18129,
    "h": 321.3
  },
  "luminance": 0.29427
}

Semantic roles & 50–950 ramp

primary
#CC6FDD
secondary
#C7E7C1
accent
#CA1C37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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