#D336C1#D336C1

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

Color values

HEX#D336C1
RGBrgb(211, 54, 193)
HSLhsl(307, 64%, 52%)
HSVhsv(307, 74%, 83%)
CMYKcmyk(0%, 74.4%, 8.5%, 17.3%)
CIE-LABlab(52.22, 73.67, -39.09)
CIE-LCHlch(52.22, 83.40, 332.05°)
OKLaboklab(61.97% 0.213 -0.1073)
OKLCHoklch(61.97% 0.238 333.3)
XYZxyz(37.8090, 20.3407, 52.3766)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C1 #36D348
analogous
#9736D3 #D336C1 #D33673
triadic
#D336C1 #C1D336 #36C1D3
tetradic
#D336C1 #D39736 #36D348 #3673D3
square
#D336C1 #D39736 #36D348 #3673D3
split-complementary
#D336C1 #73D336 #36D397
monochromatic
#751A6B #A72598 #D336C1 #DE68D0 #E99AE0

Accessibility & contrast

On white

4.14
#D336C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D336C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C1#FFFFFF#000000##000000
##D336C11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F6EC5
Deuteranopia (green-blind)
#6C84BD
Tritanopia (blue-blind)
#DD4679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d336c1;
/* rgb */ color: rgb(211, 54, 193);
/* oklch */ color: oklch(62.0% 0.238 333.3);
Tailwind
colors: {
  custom: {
    50: '#e57dd4',
    500: '#d336c1',
    950: '#000000',
  },
}
SCSS
$custom: #d336c1;
$custom-light: #e57dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c1",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 306.879,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.23844,
    "h": 333.3
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336C1

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

Preview Lab → · Contrast checker → · Palette generator →

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