#D336C6#D336C6

#D336C6 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.2% C 0.242 H 331.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D336C6
RGBrgb(211, 54, 198)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 74%, 83%)
CMYKcmyk(0%, 74.4%, 6.2%, 17.3%)
CIE-LABlab(52.47, 74.41, -41.57)
CIE-LCHlch(52.47, 85.24, 330.81°)
OKLaboklab(62.23% 0.2132 -0.1144)
OKLCHoklch(62.23% 0.242 331.8)
XYZxyz(38.3762, 20.5676, 55.3639)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C6 #36D343
analogous
#9236D3 #D336C6 #D33678
triadic
#D336C6 #C6D336 #36C6D3
tetradic
#D336C6 #D39236 #36D343 #3678D3
square
#D336C6 #D39236 #36D343 #3678D3
split-complementary
#D336C6 #78D336 #36D392
monochromatic
#751A6D #A7259C #D336C6 #DE68D4 #E99AE2

Accessibility & contrast

On white

4.11
#D336C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D336C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C6#FFFFFF#000000##000000
##D336C61.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#296FCA
Deuteranopia (green-blind)
#6985C2
Tritanopia (blue-blind)
#DC497C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d336c6;
/* rgb */ color: rgb(211, 54, 198);
/* oklch */ color: oklch(62.2% 0.242 331.8);
Tailwind
colors: {
  custom: {
    50: '#e57dd8',
    500: '#d336c6',
    950: '#000000',
  },
}
SCSS
$custom: #d336c6;
$custom-light: #e57dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c6",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 304.968,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62232,
    "c": 0.24193,
    "h": 331.8
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#D336C6
secondary
#90D596
accent
#E74E41
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D336C6

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

Preview Lab → · Contrast checker → · Palette generator →

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