#D02CC0#D02CC0

#D02CC0 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.8% C 0.245 H 332.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D02CC0
RGBrgb(208, 44, 192)
HSLhsl(306, 65%, 49%)
HSVhsv(306, 79%, 82%)
CMYKcmyk(0%, 78.8%, 7.7%, 18.4%)
CIE-LABlab(50.71, 75.64, -40.92)
CIE-LCHlch(50.71, 86.00, 331.59°)
OKLaboklab(60.78% 0.2181 -0.1126)
OKLCHoklch(60.78% 0.245 332.7)
XYZxyz(36.4277, 19.0202, 51.6117)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02CC0 #2CD03C
analogous
#8E2CD0 #D02CC0 #D02C6E
triadic
#D02CC0 #C0D02C #2CC0D0
tetradic
#D02CC0 #D08E2C #2CD03C #2C6ED0
square
#D02CC0 #D08E2C #2CD03C #2C6ED0
split-complementary
#D02CC0 #6ED02C #2CD08E
monochromatic
#6B1763 #9D2191 #D02CC0 #DD5DD0 #E78FDF

Accessibility & contrast

On white

4.37
#D02CC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D02CC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D02CC0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02CC0#FFFFFF#000000##000000
##D02CC01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#206AC4
Deuteranopia (green-blind)
#6681BC
Tritanopia (blue-blind)
#D94076
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d02cc0;
/* rgb */ color: rgb(208, 44, 192);
/* oklch */ color: oklch(60.8% 0.245 332.7);
Tailwind
colors: {
  custom: {
    50: '#e379d3',
    500: '#d02cc0',
    950: '#000000',
  },
}
SCSS
$custom: #d02cc0;
$custom-light: #e379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d02cc0",
  "rgb": {
    "r": 208,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 305.854,
    "s": 65.079,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.2454,
    "h": 332.7
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#D02CC0
secondary
#86D28D
accent
#E85040
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #D02CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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