#CC3EB8#CC3EB8

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

Color values

HEX#CC3EB8
RGBrgb(204, 62, 184)
HSLhsl(308, 58%, 52%)
HSVhsv(308, 70%, 80%)
CMYKcmyk(0%, 69.6%, 9.8%, 20%)
CIE-LABlab(51.55, 68.16, -35.00)
CIE-LCHlch(51.55, 76.62, 332.82°)
OKLaboklab(61.12% 0.1978 -0.0957)
OKLCHoklch(61.12% 0.22 334.2)
XYZxyz(35.2765, 19.7463, 47.2916)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EB8 #3ECC52
analogous
#993ECC #CC3EB8 #CC3E71
triadic
#CC3EB8 #B8CC3E #3EB8CC
tetradic
#CC3EB8 #CC993E #3ECC52 #3E71CC
square
#CC3EB8 #CC993E #3ECC52 #3E71CC
split-complementary
#CC3EB8 #71CC3E #3ECC99
monochromatic
#721E66 #A22B91 #CC3EB8 #D96ECA #E69FDC

Accessibility & contrast

On white

4.24
#CC3EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CC3EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EB8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EB8#FFFFFF#000000##000000
##CC3EB81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#D54A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc3eb8;
/* rgb */ color: rgb(204, 62, 184);
/* oklch */ color: oklch(61.1% 0.220 334.2);
Tailwind
colors: {
  custom: {
    50: '#df7fcd',
    500: '#cc3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eb8;
$custom-light: #df7fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eb8",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 308.451,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61125,
    "c": 0.21974,
    "h": 334.2
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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