#D13DD2#D13DD2

#D13DD2 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.1% C 0.243 H 327.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D13DD2
RGBrgb(209, 61, 210)
HSLhsl(300, 62%, 53%)
HSVhsv(300, 71%, 82%)
CMYKcmyk(0.5%, 71%, 0%, 17.6%)
CIE-LABlab(53.55, 73.66, -46.78)
CIE-LCHlch(53.55, 87.26, 327.58°)
OKLaboklab(63.14% 0.2051 -0.1296)
OKLCHoklch(63.14% 0.243 327.7)
XYZxyz(39.5956, 21.5488, 63.0341)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13DD2 #3ED23D
analogous
#863DD2 #D13DD2 #D23D89
triadic
#D13DD2 #D2D13D #3DD2D1
tetradic
#D13DD2 #D2863D #3ED23D #3D89D2
square
#D13DD2 #D2863D #3ED23D #3D89D2
split-complementary
#D13DD2 #89D23D #3DD286
monochromatic
#781C79 #A928AA #D13DD2 #DD6FDE #E9A0E9

Accessibility & contrast

On white

3.96
#D13DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D13DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D13DD2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13DD2#FFFFFF#000000##000000
##D13DD21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#6487CE
Tritanopia (blue-blind)
#D75484
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d13dd2;
/* rgb */ color: rgb(209, 61, 210);
/* oklch */ color: oklch(63.1% 0.243 327.7);
Tailwind
colors: {
  custom: {
    50: '#e380e0',
    500: '#d13dd2',
    950: '#000000',
  },
}
SCSS
$custom: #d13dd2;
$custom-light: #e380e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d13dd2",
  "rgb": {
    "r": 209,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 299.597,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.63142,
    "c": 0.24259,
    "h": 327.7
  },
  "luminance": 0.21546
}

Semantic roles & 50–950 ramp

primary
#D13DD2
secondary
#96D695
accent
#E54243
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D13DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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