#CC3CB7#CC3CB7

#CC3CB7 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.221 H 334.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CC3CB7
RGBrgb(204, 60, 183)
HSLhsl(309, 59%, 52%)
HSVhsv(309, 71%, 80%)
CMYKcmyk(0%, 70.6%, 10.3%, 20%)
CIE-LABlab(51.26, 68.71, -34.87)
CIE-LCHlch(51.26, 77.05, 333.09°)
OKLaboklab(60.9% 0.1998 -0.0953)
OKLCHoklch(60.9% 0.221 334.5)
XYZxyz(35.0653, 19.4910, 46.7059)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3CB7 #3CCC51
analogous
#993CCC #CC3CB7 #CC3C6F
triadic
#CC3CB7 #B7CC3C #3CB7CC
tetradic
#CC3CB7 #CC993C #3CCC51 #3C6FCC
square
#CC3CB7 #CC993C #3CCC51 #3C6FCC
split-complementary
#CC3CB7 #6FCC3C #3CCC99
monochromatic
#701D64 #A12A8F #CC3CB7 #D96DC9 #E59DDB

Accessibility & contrast

On white

4.29
#CC3CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CC3CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3CB7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3CB7#FFFFFF#000000##000000
##CC3CB71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBA
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#D64875
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3cb7;
/* rgb */ color: rgb(204, 60, 183);
/* oklch */ color: oklch(60.9% 0.221 334.5);
Tailwind
colors: {
  custom: {
    50: '#df7ecd',
    500: '#cc3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc3cb7;
$custom-light: #df7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3cb7",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 308.75,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.22134,
    "h": 334.5
  },
  "luminance": 0.19488
}

Semantic roles & 50–950 ramp

primary
#CC3CB7
secondary
#92D19C
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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