#D336C0#D336C0

#D336C0 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.9% C 0.238 H 333.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#D336C0
RGBrgb(211, 54, 192)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 74%, 83%)
CMYKcmyk(0%, 74.4%, 9%, 17.3%)
CIE-LABlab(52.17, 73.53, -38.59)
CIE-LCHlch(52.17, 83.04, 332.31°)
OKLaboklab(61.92% 0.2129 -0.1058)
OKLCHoklch(61.92% 0.238 333.6)
XYZxyz(37.6979, 20.2962, 51.7911)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C0 #36D349
analogous
#9836D3 #D336C0 #D33672
triadic
#D336C0 #C0D336 #36C0D3
tetradic
#D336C0 #D39836 #36D349 #3672D3
square
#D336C0 #D39836 #36D349 #3672D3
split-complementary
#D336C0 #72D336 #36D398
monochromatic
#751A6A #A72597 #D336C0 #DE68D0 #E99ADF

Accessibility & contrast

On white

4.15
#D336C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D336C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C0#FFFFFF#000000##000000
##D336C01.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#306EC4
Deuteranopia (green-blind)
#6C84BC
Tritanopia (blue-blind)
#DD4678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d336c0;
/* rgb */ color: rgb(211, 54, 192);
/* oklch */ color: oklch(61.9% 0.238 333.6);
Tailwind
colors: {
  custom: {
    50: '#e57dd3',
    500: '#d336c0',
    950: '#000000',
  },
}
SCSS
$custom: #d336c0;
$custom-light: #e57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c0",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 307.261,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.23775,
    "h": 333.6
  },
  "luminance": 0.20293
}

Semantic roles & 50–950 ramp

primary
#D336C0
secondary
#90D598
accent
#E75541
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D336C0

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

Preview Lab → · Contrast checker → · Palette generator →

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