#CC3EB6#CC3EB6

#CC3EB6 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.218 H 334.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CC3EB6
RGBrgb(204, 62, 182)
HSLhsl(309, 58%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 69.6%, 10.8%, 20%)
CIE-LABlab(51.45, 67.87, -33.98)
CIE-LCHlch(51.45, 75.90, 333.40°)
OKLaboklab(61.03% 0.1976 -0.0928)
OKLCHoklch(61.03% 0.218 334.8)
XYZxyz(35.0683, 19.6630, 46.1953)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB6 #3ECC54
analogous
#9B3ECC #CC3EB6 #CC3E6F
triadic
#CC3EB6 #B6CC3E #3EB6CC
tetradic
#CC3EB6 #CC9B3E #3ECC54 #3E6FCC
square
#CC3EB6 #CC9B3E #3ECC54 #3E6FCC
split-complementary
#CC3EB6 #6FCC3E #3ECC9B
monochromatic
#721E65 #A22B90 #CC3EB6 #D96EC8 #E69FDB

Accessibility & contrast

On white

4.26
#CC3EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CC3EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB6#FFFFFF#000000##000000
##CC3EB61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6DB9
Deuteranopia (green-blind)
#6E82B3
Tritanopia (blue-blind)
#D64975
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3eb6;
/* rgb */ color: rgb(204, 62, 182);
/* oklch */ color: oklch(61.0% 0.218 334.8);
Tailwind
colors: {
  custom: {
    50: '#df7fcc',
    500: '#cc3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb6;
$custom-light: #df7fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb6",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 309.296,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.21832,
    "h": 334.8
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#CC3EB6
secondary
#94D29E
accent
#E15E46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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