#D336CC#D336CC

#D336CC is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.6% C 0.246 H 330.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D336CC
RGBrgb(211, 54, 204)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 74%, 83%)
CMYKcmyk(0%, 74.4%, 3.3%, 17.3%)
CIE-LABlab(52.78, 75.32, -44.53)
CIE-LCHlch(52.78, 87.50, 329.41°)
OKLaboklab(62.56% 0.2133 -0.123)
OKLCHoklch(62.56% 0.246 330)
XYZxyz(39.0820, 20.8499, 59.0811)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336CC #36D33D
analogous
#8C36D3 #D336CC #D3367E
triadic
#D336CC #CCD336 #36CCD3
tetradic
#D336CC #D38C36 #36D33D #367ED3
square
#D336CC #D38C36 #36D33D #367ED3
split-complementary
#D336CC #7ED336 #36D38C
monochromatic
#751A71 #A725A1 #D336CC #DE68D9 #E99AE5

Accessibility & contrast

On white

4.06
#D336CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D336CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336CC#FFFFFF#000000##000000
##D336CC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#DB4C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d336cc;
/* rgb */ color: rgb(211, 54, 204);
/* oklch */ color: oklch(62.6% 0.246 330.0);
Tailwind
colors: {
  custom: {
    50: '#e57edc',
    500: '#d336cc',
    950: '#000000',
  },
}
SCSS
$custom: #d336cc;
$custom-light: #e57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d336cc",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 302.675,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.2462,
    "h": 330
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#D336CC
secondary
#90D593
accent
#E74841
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D336CC

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

Preview Lab → · Contrast checker → · Palette generator →

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