#D13FD2#D13FD2

#D13FD2 is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 63.3% C 0.240 H 327.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D13FD2
RGBrgb(209, 63, 210)
HSLhsl(300, 62%, 54%)
HSVhsv(300, 70%, 82%)
CMYKcmyk(0.5%, 70%, 0%, 17.6%)
CIE-LABlab(53.78, 73.00, -46.41)
CIE-LCHlch(53.78, 86.51, 327.55°)
OKLaboklab(63.31% 0.2032 -0.1286)
OKLCHoklch(63.31% 0.24 327.7)
XYZxyz(39.7043, 21.7663, 63.0704)
Luminance0.2176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13FD2 #40D23F
analogous
#873FD2 #D13FD2 #D23F89
triadic
#D13FD2 #D2D13F #3FD2D1
tetradic
#D13FD2 #D2873F #40D23F #3F89D2
square
#D13FD2 #D2873F #40D23F #3F89D2
split-complementary
#D13FD2 #89D23F #3FD287
monochromatic
#791D7A #AB28AC #D13FD2 #DD71DE #E9A2E9

Accessibility & contrast

On white

3.92
#D13FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D13FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D13FD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13FD2#FFFFFF#000000##000000
##D13FD21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2474D6
Deuteranopia (green-blind)
#6587CE
Tritanopia (blue-blind)
#D75585
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d13fd2;
/* rgb */ color: rgb(209, 63, 210);
/* oklch */ color: oklch(63.3% 0.240 327.7);
Tailwind
colors: {
  custom: {
    50: '#e381e0',
    500: '#d13fd2',
    950: '#000000',
  },
}
SCSS
$custom: #d13fd2;
$custom-light: #e381e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d13fd2",
  "rgb": {
    "r": 209,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 299.592,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.24045,
    "h": 327.7
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#D13FD2
secondary
#97D697
accent
#E54344
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D13FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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