#CC3CBA#CC3CBA

#CC3CBA is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.1% C 0.223 H 333.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3CBA
RGBrgb(204, 60, 186)
HSLhsl(308, 59%, 52%)
HSVhsv(308, 71%, 80%)
CMYKcmyk(0%, 70.6%, 8.8%, 20%)
CIE-LABlab(51.40, 69.15, -36.39)
CIE-LCHlch(51.40, 78.15, 332.24°)
OKLaboklab(61.05% 0.2 -0.0997)
OKLCHoklch(61.05% 0.223 333.5)
XYZxyz(35.3809, 19.6172, 48.3679)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3CBA #3CCC4E
analogous
#963CCC #CC3CBA #CC3C72
triadic
#CC3CBA #BACC3C #3CBACC
tetradic
#CC3CBA #CC963C #3CCC4E #3C72CC
square
#CC3CBA #CC963C #3CCC4E #3C72CC
split-complementary
#CC3CBA #72CC3C #3CCC96
monochromatic
#701D66 #A12A92 #CC3CBA #D96DCB #E59DDC

Accessibility & contrast

On white

4.27
#CC3CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CC3CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3CBA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3CBA#FFFFFF#000000##000000
##CC3CBA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBE
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#D54977
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3cba;
/* rgb */ color: rgb(204, 60, 186);
/* oklch */ color: oklch(61.1% 0.223 333.5);
Tailwind
colors: {
  custom: {
    50: '#df7fcf',
    500: '#cc3cba',
    950: '#000000',
  },
}
SCSS
$custom: #cc3cba;
$custom-light: #df7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3cba",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 307.5,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6105,
    "c": 0.22347,
    "h": 333.5
  },
  "luminance": 0.19614
}

Semantic roles & 50–950 ramp

primary
#CC3CBA
secondary
#92D19A
accent
#E25A46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC3CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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