#CC30CF#CC30CF

#CC30CF is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.3% C 0.251 H 327.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CC30CF
RGBrgb(204, 48, 207)
HSLhsl(299, 62%, 50%)
HSVhsv(299, 77%, 81%)
CMYKcmyk(1.4%, 76.8%, 0%, 18.8%)
CIE-LABlab(51.22, 76.07, -48.81)
CIE-LCHlch(51.22, 90.38, 327.31°)
OKLaboklab(61.28% 0.2109 -0.1356)
OKLCHoklch(61.28% 0.251 327.3)
XYZxyz(37.2207, 19.4590, 60.8149)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC30CF #33CF30
analogous
#7D30CF #CC30CF #CF3082
triadic
#CC30CF #CFCC30 #30CFCC
tetradic
#CC30CF #CF7D30 #33CF30 #3082CF
square
#CC30CF #CF7D30 #33CF30 #3082CF
split-complementary
#CC30CF #82CF30 #30CF7D
monochromatic
#6A196C #9B249D #CC30CF #D862DB #E493E6

Accessibility & contrast

On white

4.29
#CC30CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CC30CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC30CF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC30CF#FFFFFF#000000##000000
##CC30CF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#5B81CB
Tritanopia (blue-blind)
#D24C7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc30cf;
/* rgb */ color: rgb(204, 48, 207);
/* oklch */ color: oklch(61.3% 0.251 327.3);
Tailwind
colors: {
  custom: {
    50: '#e07ade',
    500: '#cc30cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc30cf;
$custom-light: #e07ade;
$custom-dark: #000000;
JSON
{
  "hex": "#cc30cf",
  "rgb": {
    "r": 204,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 298.868,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.25073,
    "h": 327.3
  },
  "luminance": 0.19456
}

Semantic roles & 50–950 ramp

primary
#CC30CF
secondary
#8BD18A
accent
#E54245
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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