#CC3EE2#CC3EE2

#CC3EE2 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.5% C 0.252 H 321.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CC3EE2
RGBrgb(204, 62, 226)
HSLhsl(292, 74%, 56%)
HSVhsv(292, 73%, 89%)
CMYKcmyk(9.7%, 72.6%, 0%, 11.4%)
CIE-LABlab(53.79, 74.97, -55.53)
CIE-LCHlch(53.79, 93.30, 323.48°)
OKLaboklab(63.45% 0.1982 -0.1553)
OKLCHoklch(63.45% 0.252 321.9)
XYZxyz(40.3505, 21.7759, 74.0146)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EE2 #54E23E
analogous
#7A3EE2 #CC3EE2 #E23EA6
triadic
#CC3EE2 #E2CC3E #3EE2CC
tetradic
#CC3EE2 #E27A3E #54E23E #3EA6E2
square
#CC3EE2 #E27A3E #54E23E #3EA6E2
split-complementary
#CC3EE2 #A6E23E #3EE27A
monochromatic
#801690 #AF1EC5 #CC3EE2 #DA73EA #E8A8F2

Accessibility & contrast

On white

3.92
#CC3EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CC3EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EE2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EE2#FFFFFF#000000##000000
##CC3EE21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#5586DE
Tritanopia (blue-blind)
#CE5D8D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc3ee2;
/* rgb */ color: rgb(204, 62, 226);
/* oklch */ color: oklch(63.5% 0.252 321.9);
Tailwind
colors: {
  custom: {
    50: '#e081ec',
    500: '#cc3ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cc3ee2;
$custom-light: #e081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3ee2",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 291.951,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.2518,
    "h": 321.9
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#CC3EE2
secondary
#A5E09C
accent
#F13750
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CC3EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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