#D336C7#D336C7

#D336C7 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.3% C 0.243 H 331.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#D336C7
RGBrgb(211, 54, 199)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 74%, 83%)
CMYKcmyk(0%, 74.4%, 5.7%, 17.3%)
CIE-LABlab(52.52, 74.56, -42.07)
CIE-LCHlch(52.52, 85.61, 330.57°)
OKLaboklab(62.29% 0.2132 -0.1159)
OKLCHoklch(62.29% 0.243 331.5)
XYZxyz(38.4920, 20.6139, 55.9733)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336C7 #36D342
analogous
#9136D3 #D336C7 #D33679
triadic
#D336C7 #C7D336 #36C7D3
tetradic
#D336C7 #D39136 #36D342 #3679D3
square
#D336C7 #D39136 #36D342 #3679D3
split-complementary
#D336C7 #79D336 #36D391
monochromatic
#751A6E #A7259D #D336C7 #DE68D5 #E99AE3

Accessibility & contrast

On white

4.10
#D336C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D336C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336C7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336C7#FFFFFF#000000##000000
##D336C71.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#6985C3
Tritanopia (blue-blind)
#DC4A7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d336c7;
/* rgb */ color: rgb(211, 54, 199);
/* oklch */ color: oklch(62.3% 0.243 331.5);
Tailwind
colors: {
  custom: {
    50: '#e57dd8',
    500: '#d336c7',
    950: '#000000',
  },
}
SCSS
$custom: #d336c7;
$custom-light: #e57dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d336c7",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 304.586,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.24264,
    "h": 331.5
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#D336C7
secondary
#90D595
accent
#E74D41
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D336C7

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

Preview Lab → · Contrast checker → · Palette generator →

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