#CC3DC8#CC3DC8

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

Color values

HEX#CC3DC8
RGBrgb(204, 61, 200)
HSLhsl(302, 58%, 52%)
HSVhsv(302, 70%, 80%)
CMYKcmyk(0%, 70.1%, 2%, 20%)
CIE-LABlab(52.23, 70.98, -43.19)
CIE-LCHlch(52.23, 83.09, 328.68°)
OKLaboklab(61.87% 0.1997 -0.1193)
OKLCHoklch(61.87% 0.233 329.1)
XYZxyz(36.9956, 20.3477, 56.6114)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3DC8 #3DCC41
analogous
#883DCC #CC3DC8 #CC3D81
triadic
#CC3DC8 #C8CC3D #3DC8CC
tetradic
#CC3DC8 #CC883D #3DCC41 #3D81CC
square
#CC3DC8 #CC883D #3DCC41 #3D81CC
split-complementary
#CC3DC8 #81CC3D #3DCC88
monochromatic
#711E6F #A12A9E #CC3DC8 #D96DD6 #E59EE3

Accessibility & contrast

On white

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

On black

5.07
#CC3DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3DC8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3DC8#FFFFFF#000000##000000
##CC3DC81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#D3517F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc3dc8;
/* rgb */ color: rgb(204, 61, 200);
/* oklch */ color: oklch(61.9% 0.233 329.1);
Tailwind
colors: {
  custom: {
    50: '#df7fd9',
    500: '#cc3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc3dc8;
$custom-light: #df7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3dc8",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 301.678,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61874,
    "c": 0.23265,
    "h": 329.1
  },
  "luminance": 0.20345
}

Semantic roles & 50–950 ramp

primary
#CC3DC8
secondary
#93D295
accent
#E24B46
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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