#D051CC#D051CC

#D051CC is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.6% C 0.213 H 329.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D051CC
RGBrgb(208, 81, 204)
HSLhsl(302, 57%, 57%)
HSVhsv(302, 61%, 82%)
CMYKcmyk(0%, 61.1%, 1.9%, 18.4%)
CIE-LABlab(55.74, 65.00, -39.89)
CIE-LCHlch(55.74, 76.27, 328.46°)
OKLaboklab(64.6% 0.1826 -0.1099)
OKLCHoklch(64.6% 0.213 329)
XYZxyz(39.8535, 23.6571, 59.5822)
Luminance0.2365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051CC #51D055
analogous
#9551D0 #D051CC #D0518D
triadic
#D051CC #CCD051 #51CCD0
tetradic
#D051CC #D09551 #51D055 #518DD0
square
#D051CC #D09551 #51D055 #518DD0
split-complementary
#D051CC #8DD051 #51D095
monochromatic
#832380 #B330AF #D051CC #DD81DA #EAB1E8

Accessibility & contrast

On white

3.66
#D051CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D051CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051CC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051CC#FFFFFF#000000##000000
##D051CC1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#D76087
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d051cc;
/* rgb */ color: rgb(208, 81, 204);
/* oklch */ color: oklch(64.6% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#e28adc',
    500: '#d051cc',
    950: '#000000',
  },
}
SCSS
$custom: #d051cc;
$custom-light: #e28adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d051cc",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 301.89,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.2131,
    "h": 329
  },
  "luminance": 0.23654
}

Semantic roles & 50–950 ramp

primary
#D051CC
secondary
#A4D8A6
accent
#E14C47
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D051CC

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

Preview Lab → · Contrast checker → · Palette generator →

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