#CC3DC9#CC3DC9

#CC3DC9 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.233 H 328.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC3DC9
RGBrgb(204, 61, 201)
HSLhsl(301, 58%, 52%)
HSVhsv(301, 70%, 80%)
CMYKcmyk(0%, 70.1%, 1.5%, 20%)
CIE-LABlab(52.28, 71.14, -43.68)
CIE-LCHlch(52.28, 83.48, 328.45°)
OKLaboklab(61.93% 0.1997 -0.1207)
OKLCHoklch(61.93% 0.233 328.8)
XYZxyz(37.1128, 20.3946, 57.2289)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DC9 #3DCC40
analogous
#883DCC #CC3DC9 #CC3D81
triadic
#CC3DC9 #C9CC3D #3DC9CC
tetradic
#CC3DC9 #CC883D #3DCC40 #3D81CC
square
#CC3DC9 #CC883D #3DCC40 #3D81CC
split-complementary
#CC3DC9 #81CC3D #3DCC88
monochromatic
#711E6F #A12A9F #CC3DC9 #D96DD6 #E59EE4

Accessibility & contrast

On white

4.14
#CC3DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC3DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DC9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DC9#FFFFFF#000000##000000
##CC3DC91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2871CD
Deuteranopia (green-blind)
#6583C5
Tritanopia (blue-blind)
#D3517F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3dc9;
/* rgb */ color: rgb(204, 61, 201);
/* oklch */ color: oklch(61.9% 0.233 328.8);
Tailwind
colors: {
  custom: {
    50: '#df7fda',
    500: '#cc3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #cc3dc9;
$custom-light: #df7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3dc9",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 301.259,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61928,
    "c": 0.23339,
    "h": 328.8
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#CC3DC9
secondary
#93D294
accent
#E24946
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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