#CC6FE2#CC6FE2

#CC6FE2 is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.0% C 0.186 H 319.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CC6FE2
RGBrgb(204, 111, 226)
HSLhsl(289, 66%, 66%)
HSVhsv(289, 51%, 89%)
CMYKcmyk(9.7%, 50.9%, 0%, 11.4%)
CIE-LABlab(61.39, 54.11, -43.46)
CIE-LCHlch(61.39, 69.40, 321.23°)
OKLaboklab(68.97% 0.142 -0.1205)
OKLCHoklch(68.97% 0.186 319.7)
XYZxyz(44.3120, 29.6990, 75.3351)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC6FE2 #85E26F
analogous
#926FE2 #CC6FE2 #E26FBE
triadic
#CC6FE2 #E2CC6F #6FE2CC
tetradic
#CC6FE2 #E2926F #85E26F #6FBEE2
square
#CC6FE2 #E2926F #85E26F #6FBEE2
split-complementary
#CC6FE2 #BEE26F #6FE292
monochromatic
#9724B3 #BA3CD8 #CC6FE2 #DEA2EC #F0D5F7

Accessibility & contrast

On white

3.03
#CC6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CC6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC6FE2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC6FE2#FFFFFF#000000##000000
##CC6FE21.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#7798DF
Tritanopia (blue-blind)
#CD7F9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc6fe2;
/* rgb */ color: rgb(204, 111, 226);
/* oklch */ color: oklch(69.0% 0.186 319.7);
Tailwind
colors: {
  custom: {
    50: '#de9ceb',
    500: '#cc6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cc6fe2;
$custom-light: #de9ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc6fe2",
  "rgb": {
    "r": 204,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 288.522,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68974,
    "c": 0.18623,
    "h": 319.7
  },
  "luminance": 0.29697
}

Semantic roles & 50–950 ramp

primary
#CC6FE2
secondary
#CBE9C4
accent
#CE173A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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