#D336C5#D336C5

#D336C5 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.2% C 0.241 H 332.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D336C5
RGBrgb(211, 54, 197)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 74%, 83%)
CMYKcmyk(0%, 74.4%, 6.6%, 17.3%)
CIE-LABlab(52.42, 74.26, -41.08)
CIE-LCHlch(52.42, 84.87, 331.05°)
OKLaboklab(62.18% 0.2131 -0.113)
OKLCHoklch(62.18% 0.241 332.1)
XYZxyz(38.2613, 20.5216, 54.7584)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C5 #36D344
analogous
#9236D3 #D336C5 #D33677
triadic
#D336C5 #C5D336 #36C5D3
tetradic
#D336C5 #D39236 #36D344 #3677D3
square
#D336C5 #D39236 #36D344 #3677D3
split-complementary
#D336C5 #77D336 #36D392
monochromatic
#751A6D #A7259C #D336C5 #DE68D3 #E99AE2

Accessibility & contrast

On white

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

On black

5.10
#D336C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C5#FFFFFF#000000##000000
##D336C51.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FC9
Deuteranopia (green-blind)
#6A85C1
Tritanopia (blue-blind)
#DC487B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d336c5;
/* rgb */ color: rgb(211, 54, 197);
/* oklch */ color: oklch(62.2% 0.241 332.1);
Tailwind
colors: {
  custom: {
    50: '#e57dd7',
    500: '#d336c5',
    950: '#000000',
  },
}
SCSS
$custom: #d336c5;
$custom-light: #e57dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c5",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 305.35,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62179,
    "c": 0.24123,
    "h": 332.1
  },
  "luminance": 0.20518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D336C5

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

Preview Lab → · Contrast checker → · Palette generator →

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