#D336CB#D336CB

#D336CB is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.5% C 0.245 H 330.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D336CB
RGBrgb(211, 54, 203)
HSLhsl(303, 64%, 52%)
HSVhsv(303, 74%, 83%)
CMYKcmyk(0%, 74.4%, 3.8%, 17.3%)
CIE-LABlab(52.73, 75.17, -44.04)
CIE-LCHlch(52.73, 87.12, 329.63°)
OKLaboklab(62.5% 0.2133 -0.1216)
OKLCHoklch(62.5% 0.245 330.3)
XYZxyz(38.9625, 20.8021, 58.4514)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D336CB #36D33E
analogous
#8C36D3 #D336CB #D3367D
triadic
#D336CB #CBD336 #36CBD3
tetradic
#D336CB #D38C36 #36D33E #367DD3
square
#D336CB #D38C36 #36D33E #367DD3
split-complementary
#D336CB #7DD336 #36D38C
monochromatic
#751A70 #A725A1 #D336CB #DE68D8 #E99AE5

Accessibility & contrast

On white

4.07
#D336CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D336CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D336CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D336CB#FFFFFF#000000##000000
##D336CB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#DB4C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d336cb;
/* rgb */ color: rgb(211, 54, 203);
/* oklch */ color: oklch(62.5% 0.245 330.3);
Tailwind
colors: {
  custom: {
    50: '#e57ddb',
    500: '#d336cb',
    950: '#000000',
  },
}
SCSS
$custom: #d336cb;
$custom-light: #e57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d336cb",
  "rgb": {
    "r": 211,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 303.057,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.62502,
    "c": 0.24549,
    "h": 330.3
  },
  "luminance": 0.20799
}

Semantic roles & 50–950 ramp

primary
#D336CB
secondary
#90D594
accent
#E74941
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D336CB

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

Preview Lab → · Contrast checker → · Palette generator →

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