#CC6FF6#CC6FF6

#CC6FF6 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.0% C 0.206 H 314.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CC6FF6
RGBrgb(204, 111, 246)
HSLhsl(281, 88%, 70%)
HSVhsv(281, 55%, 96%)
CMYKcmyk(17.1%, 54.9%, 0%, 3.5%)
CIE-LABlab(62.39, 58.11, -52.99)
CIE-LCHlch(62.39, 78.64, 317.64°)
OKLaboklab(70.03% 0.1437 -0.1481)
OKLCHoklch(70.03% 0.206 314.1)
XYZxyz(47.2181, 30.8614, 90.6404)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FF6 #99F66F
analogous
#886FF6 #CC6FF6 #F66FDD
triadic
#CC6FF6 #F6CC6F #6FF6CC
tetradic
#CC6FF6 #F6886F #99F66F #6FDDF6
square
#CC6FF6 #F6886F #99F66F #6FDDF6
split-complementary
#CC6FF6 #DDF66F #6FF688
monochromatic
#9C0EDD #B835F2 #CC6FF6 #E0A9FA #F5E2FD

Accessibility & contrast

On white

2.93
#CC6FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CC6FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC6FF6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FF6#FFFFFF#000000##000000
##CC6FF61.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FA
Deuteranopia (green-blind)
#6C99F3
Tritanopia (blue-blind)
#C986A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc6ff6;
/* rgb */ color: rgb(204, 111, 246);
/* oklch */ color: oklch(70.0% 0.206 314.1);
Tailwind
colors: {
  custom: {
    50: '#de9cfa',
    500: '#cc6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cc6ff6;
$custom-light: #de9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6ff6",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 281.333,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.20642,
    "h": 314.1
  },
  "luminance": 0.3086
}

Semantic roles & 50–950 ramp

primary
#CC6FF6
secondary
#D9F3CE
accent
#E50148
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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