#D336C3#D336C3

#D336C3 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.1% C 0.240 H 332.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D336C3
RGBrgb(211, 54, 195)
HSLhsl(306, 64%, 52%)
HSVhsv(306, 74%, 83%)
CMYKcmyk(0%, 74.4%, 7.6%, 17.3%)
CIE-LABlab(52.32, 73.97, -40.08)
CIE-LCHlch(52.32, 84.13, 331.55°)
OKLaboklab(62.07% 0.213 -0.1101)
OKLCHoklch(62.07% 0.24 332.7)
XYZxyz(38.0336, 20.4306, 53.5595)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C3 #36D346
analogous
#9536D3 #D336C3 #D33674
triadic
#D336C3 #C3D336 #36C3D3
tetradic
#D336C3 #D39536 #36D346 #3674D3
square
#D336C3 #D39536 #36D346 #3674D3
split-complementary
#D336C3 #74D336 #36D395
monochromatic
#751A6C #A7259A #D336C3 #DE68D2 #E99AE1

Accessibility & contrast

On white

4.13
#D336C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D336C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C3#FFFFFF#000000##000000
##D336C31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC7
Deuteranopia (green-blind)
#6B85BF
Tritanopia (blue-blind)
#DC477A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d336c3;
/* rgb */ color: rgb(211, 54, 195);
/* oklch */ color: oklch(62.1% 0.240 332.7);
Tailwind
colors: {
  custom: {
    50: '#e57dd5',
    500: '#d336c3',
    950: '#000000',
  },
}
SCSS
$custom: #d336c3;
$custom-light: #e57dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c3",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 306.115,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62074,
    "c": 0.23983,
    "h": 332.7
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#D336C3
secondary
#90D597
accent
#E75241
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D336C3

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

Preview Lab → · Contrast checker → · Palette generator →

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