#CC2FD0#CC2FD0

#CC2FD0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.3% C 0.252 H 327.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC2FD0
RGBrgb(204, 47, 208)
HSLhsl(299, 63%, 50%)
HSVhsv(299, 77%, 82%)
CMYKcmyk(1.9%, 77.4%, 0%, 18.4%)
CIE-LABlab(51.18, 76.49, -49.44)
CIE-LCHlch(51.18, 91.08, 327.12°)
OKLaboklab(61.27% 0.2116 -0.1374)
OKLCHoklch(61.27% 0.252 327)
XYZxyz(37.3029, 19.4272, 61.4474)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2FD0 #33D02F
analogous
#7B2FD0 #CC2FD0 #D02F84
triadic
#CC2FD0 #D0CC2F #2FD0CC
tetradic
#CC2FD0 #D07B2F #33D02F #2F84D0
square
#CC2FD0 #D07B2F #33D02F #2F84D0
split-complementary
#CC2FD0 #84D02F #2FD07B
monochromatic
#6A186C #9B249E #CC2FD0 #D861DB #E493E7

Accessibility & contrast

On white

4.30
#CC2FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC2FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2FD0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2FD0#FFFFFF#000000##000000
##CC2FD01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#D24C80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc2fd0;
/* rgb */ color: rgb(204, 47, 208);
/* oklch */ color: oklch(61.3% 0.252 327.0);
Tailwind
colors: {
  custom: {
    50: '#e07adf',
    500: '#cc2fd0',
    950: '#000000',
  },
}
SCSS
$custom: #cc2fd0;
$custom-light: #e07adf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2fd0",
  "rgb": {
    "r": 204,
    "g": 47,
    "b": 208
  },
  "hsl": {
    "h": 298.509,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.25233,
    "h": 327
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#CC2FD0
secondary
#8BD189
accent
#E64246
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CC2FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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