#CC3EB5#CC3EB5

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

Color values

HEX#CC3EB5
RGBrgb(204, 62, 181)
HSLhsl(310, 58%, 52%)
HSVhsv(310, 70%, 80%)
CMYKcmyk(0%, 69.6%, 11.3%, 20%)
CIE-LABlab(51.41, 67.72, -33.47)
CIE-LCHlch(51.41, 75.54, 333.70°)
OKLaboklab(60.98% 0.1975 -0.0913)
OKLCHoklch(60.98% 0.218 335.2)
XYZxyz(34.9654, 19.6218, 45.6530)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB5 #3ECC55
analogous
#9C3ECC #CC3EB5 #CC3E6E
triadic
#CC3EB5 #B5CC3E #3EB5CC
tetradic
#CC3EB5 #CC9C3E #3ECC55 #3E6ECC
square
#CC3EB5 #CC9C3E #3ECC55 #3E6ECC
split-complementary
#CC3EB5 #6ECC3E #3ECC9C
monochromatic
#721E64 #A22B8F #CC3EB5 #D96EC8 #E69FDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3EB5#FFFFFF#000000##000000
##CC3EB51.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3eb5;
/* rgb */ color: rgb(204, 62, 181);
/* oklch */ color: oklch(61.0% 0.218 335.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcb',
    500: '#cc3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb5;
$custom-light: #df7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb5",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 309.718,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.21762,
    "h": 335.2
  },
  "luminance": 0.19619
}

Semantic roles & 50–950 ramp

primary
#CC3EB5
secondary
#94D29E
accent
#E15F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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