#CC3EB7#CC3EB7

#CC3EB7 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.219 H 334.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC3EB7
RGBrgb(204, 62, 183)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 69.6%, 10.3%, 20%)
CIE-LABlab(51.50, 68.01, -34.49)
CIE-LCHlch(51.50, 76.26, 333.11°)
OKLaboklab(61.08% 0.1977 -0.0943)
OKLCHoklch(61.08% 0.219 334.5)
XYZxyz(35.1720, 19.7045, 46.7415)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB7 #3ECC53
analogous
#9A3ECC #CC3EB7 #CC3E70
triadic
#CC3EB7 #B7CC3E #3EB7CC
tetradic
#CC3EB7 #CC9A3E #3ECC53 #3E70CC
square
#CC3EB7 #CC9A3E #3ECC53 #3E70CC
split-complementary
#CC3EB7 #70CC3E #3ECC9A
monochromatic
#721E65 #A22B90 #CC3EB7 #D96EC9 #E69FDB

Accessibility & contrast

On white

4.25
#CC3EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC3EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB7#FFFFFF#000000##000000
##CC3EB71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#6E82B4
Tritanopia (blue-blind)
#D64976
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3eb7;
/* rgb */ color: rgb(204, 62, 183);
/* oklch */ color: oklch(61.1% 0.219 334.5);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cc3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb7;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb7",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 308.873,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61075,
    "c": 0.21903,
    "h": 334.5
  },
  "luminance": 0.19702
}

Semantic roles & 50–950 ramp

primary
#CC3EB7
secondary
#94D29D
accent
#E15D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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