#D336CE#D336CE

#D336CE is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.7% C 0.248 H 329.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D336CE
RGBrgb(211, 54, 206)
HSLhsl(302, 64%, 52%)
HSVhsv(302, 74%, 83%)
CMYKcmyk(0%, 74.4%, 2.4%, 17.3%)
CIE-LABlab(52.89, 75.63, -45.51)
CIE-LCHlch(52.89, 88.26, 328.96°)
OKLaboklab(62.67% 0.2133 -0.1258)
OKLCHoklch(62.67% 0.248 329.5)
XYZxyz(39.3234, 20.9465, 60.3525)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336CE #36D33B
analogous
#8A36D3 #D336CE #D33680
triadic
#D336CE #CED336 #36CED3
tetradic
#D336CE #D38A36 #36D33B #3680D3
square
#D336CE #D38A36 #36D33B #3680D3
split-complementary
#D336CE #80D336 #36D38A
monochromatic
#751A72 #A725A3 #D336CE #DE68DA #E99AE6

Accessibility & contrast

On white

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

On black

5.19
#D336CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336CE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336CE#FFFFFF#000000##000000
##D336CE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#6586CA
Tritanopia (blue-blind)
#DA4D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d336ce;
/* rgb */ color: rgb(211, 54, 206);
/* oklch */ color: oklch(62.7% 0.248 329.5);
Tailwind
colors: {
  custom: {
    50: '#e57edd',
    500: '#d336ce',
    950: '#000000',
  },
}
SCSS
$custom: #d336ce;
$custom-light: #e57edd;
$custom-dark: #000000;
JSON
{
  "hex": "#d336ce",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 206
  },
  "hsl": {
    "h": 301.911,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62666,
    "c": 0.24763,
    "h": 329.5
  },
  "luminance": 0.20943
}

Semantic roles & 50–950 ramp

primary
#D336CE
secondary
#90D592
accent
#E74641
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D336CE

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

Preview Lab → · Contrast checker → · Palette generator →

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