#D336CA#D336CA

#D336CA is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.4% C 0.245 H 330.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D336CA
RGBrgb(211, 54, 202)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 74%, 83%)
CMYKcmyk(0%, 74.4%, 4.3%, 17.3%)
CIE-LABlab(52.68, 75.01, -43.55)
CIE-LCHlch(52.68, 86.74, 329.86°)
OKLaboklab(62.45% 0.2132 -0.1202)
OKLCHoklch(62.45% 0.245 330.6)
XYZxyz(38.8437, 20.7546, 57.8259)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336CA #36D33F
analogous
#8D36D3 #D336CA #D3367C
triadic
#D336CA #CAD336 #36CAD3
tetradic
#D336CA #D38D36 #36D33F #367CD3
square
#D336CA #D38D36 #36D33F #367CD3
split-complementary
#D336CA #7CD336 #36D38D
monochromatic
#751A70 #A725A0 #D336CA #DE68D7 #E99AE4

Accessibility & contrast

On white

4.08
#D336CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D336CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336CA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336CA#FFFFFF#000000##000000
##D336CA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2370CE
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#DB4B7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d336ca;
/* rgb */ color: rgb(211, 54, 202);
/* oklch */ color: oklch(62.4% 0.245 330.6);
Tailwind
colors: {
  custom: {
    50: '#e57dda',
    500: '#d336ca',
    950: '#000000',
  },
}
SCSS
$custom: #d336ca;
$custom-light: #e57dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d336ca",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 303.439,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62447,
    "c": 0.24477,
    "h": 330.6
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#D336CA
secondary
#90D594
accent
#E74A41
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D336CA

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

Preview Lab → · Contrast checker → · Palette generator →

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