#CC6FC2#CC6FC2

#CC6FC2 is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.5% C 0.156 H 331.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#CC6FC2
RGBrgb(204, 111, 194)
HSLhsl(306, 48%, 62%)
HSVhsv(306, 46%, 80%)
CMYKcmyk(0%, 45.6%, 4.9%, 20%)
CIE-LABlab(59.98, 48.19, -27.63)
CIE-LCHlch(59.98, 55.55, 330.18°)
OKLaboklab(67.47% 0.1368 -0.0751)
OKLCHoklch(67.47% 0.156 331.2)
XYZxyz(40.3235, 28.1036, 54.3291)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FC2 #6FCC79
analogous
#A86FCC #CC6FC2 #CC6F94
triadic
#CC6FC2 #C2CC6F #6FC2CC
tetradic
#CC6FC2 #CCA86F #6FCC79 #6F94CC
square
#CC6FC2 #CCA86F #6FCC79 #6F94CC
split-complementary
#CC6FC2 #94CC6F #6FCCA8
monochromatic
#8E3284 #BB42AE #CC6FC2 #DC9CD5 #ECC9E8

Accessibility & contrast

On white

3.17
#CC6FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#CC6FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FC2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FC2#FFFFFF#000000##000000
##CC6FC21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C88C5
Deuteranopia (green-blind)
#8595BF
Tritanopia (blue-blind)
#D3768F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc6fc2;
/* rgb */ color: rgb(204, 111, 194);
/* oklch */ color: oklch(67.5% 0.156 331.2);
Tailwind
colors: {
  custom: {
    50: '#dd9bd4',
    500: '#cc6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fc2;
$custom-light: #dd9bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fc2",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 306.452,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.15602,
    "h": 331.2
  },
  "luminance": 0.28101
}

Semantic roles & 50–950 ramp

primary
#CC6FC2
secondary
#BADDBE
accent
#BB3A2B
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CC6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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