#D336CD#D336CD

#D336CD is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.6% C 0.247 H 329.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D336CD
RGBrgb(211, 54, 205)
HSLhsl(302, 64%, 52%)
HSVhsv(302, 74%, 83%)
CMYKcmyk(0%, 74.4%, 2.8%, 17.3%)
CIE-LABlab(52.84, 75.47, -45.02)
CIE-LCHlch(52.84, 87.88, 329.18°)
OKLaboklab(62.61% 0.2133 -0.1244)
OKLCHoklch(62.61% 0.247 329.7)
XYZxyz(39.2024, 20.8980, 59.7148)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336CD #36D33C
analogous
#8B36D3 #D336CD #D3367F
triadic
#D336CD #CDD336 #36CDD3
tetradic
#D336CD #D38B36 #36D33C #367FD3
square
#D336CD #D38B36 #36D33C #367FD3
split-complementary
#D336CD #7FD336 #36D38B
monochromatic
#751A71 #A725A2 #D336CD #DE68D9 #E99AE6

Accessibility & contrast

On white

4.05
#D336CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D336CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336CD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336CD#FFFFFF#000000##000000
##D336CD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#6685C9
Tritanopia (blue-blind)
#DB4D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d336cd;
/* rgb */ color: rgb(211, 54, 205);
/* oklch */ color: oklch(62.6% 0.247 329.7);
Tailwind
colors: {
  custom: {
    50: '#e57edd',
    500: '#d336cd',
    950: '#000000',
  },
}
SCSS
$custom: #d336cd;
$custom-light: #e57edd;
$custom-dark: #000000;
JSON
{
  "hex": "#d336cd",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 302.293,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62611,
    "c": 0.24691,
    "h": 329.7
  },
  "luminance": 0.20895
}

Semantic roles & 50–950 ramp

primary
#D336CD
secondary
#90D593
accent
#E74741
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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