#D13EC7#D13EC7

#D13EC7 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.6% C 0.233 H 330.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#D13EC7
RGBrgb(209, 62, 199)
HSLhsl(304, 62%, 53%)
HSVhsv(304, 70%, 82%)
CMYKcmyk(0%, 70.3%, 4.8%, 18%)
CIE-LABlab(53.09, 71.60, -41.20)
CIE-LCHlch(53.09, 82.61, 330.08°)
OKLaboklab(62.63% 0.2039 -0.1135)
OKLCHoklch(62.63% 0.233 330.9)
XYZxyz(38.3258, 21.1271, 56.0811)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13EC7 #3ED148
analogous
#923ED1 #D13EC7 #D13E7D
triadic
#D13EC7 #C7D13E #3EC7D1
tetradic
#D13EC7 #D1923E #3ED148 #3E7DD1
square
#D13EC7 #D1923E #3ED148 #3E7DD1
split-complementary
#D13EC7 #7DD13E #3ED192
monochromatic
#781D72 #A928A1 #D13EC7 #DD6FD5 #E9A1E4

Accessibility & contrast

On white

4.02
#D13EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#D13EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D13EC7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13EC7#FFFFFF#000000##000000
##D13EC71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3172CB
Deuteranopia (green-blind)
#6A86C3
Tritanopia (blue-blind)
#D94F7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d13ec7;
/* rgb */ color: rgb(209, 62, 199);
/* oklch */ color: oklch(62.6% 0.233 330.9);
Tailwind
colors: {
  custom: {
    50: '#e380d8',
    500: '#d13ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d13ec7;
$custom-light: #e380d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d13ec7",
  "rgb": {
    "r": 209,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 304.082,
    "s": 61.506,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.23331,
    "h": 330.9
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#D13EC7
secondary
#96D59A
accent
#E54E43
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D13EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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