#D031D2#D031D2

#D031D2 is a light, highly saturated purple. Relative luminance 0.203; OKLCH L 62.1% C 0.254 H 327.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D031D2
RGBrgb(208, 49, 210)
HSLhsl(299, 64%, 51%)
HSVhsv(299, 77%, 82%)
CMYKcmyk(1%, 76.7%, 0%, 17.6%)
CIE-LABlab(52.13, 77.05, -49.04)
CIE-LCHlch(52.13, 91.33, 327.53°)
OKLaboklab(62.1% 0.2142 -0.1361)
OKLCHoklch(62.1% 0.254 327.6)
XYZxyz(38.7431, 20.2625, 62.8307)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031D2 #33D231
analogous
#8031D2 #D031D2 #D23183
triadic
#D031D2 #D2D031 #31D2D0
tetradic
#D031D2 #D28031 #33D231 #3183D2
square
#D031D2 #D28031 #33D231 #3183D2
split-complementary
#D031D2 #83D231 #31D280
monochromatic
#6F1870 #A123A2 #D031D2 #DB63DD #E795E8

Accessibility & contrast

On white

4.16
#D031D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D031D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031D2#FFFFFF#000000##000000
##D031D21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#5E83CE
Tritanopia (blue-blind)
#D64D81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d031d2;
/* rgb */ color: rgb(208, 49, 210);
/* oklch */ color: oklch(62.1% 0.254 327.6);
Tailwind
colors: {
  custom: {
    50: '#e37be0',
    500: '#d031d2',
    950: '#000000',
  },
}
SCSS
$custom: #d031d2;
$custom-light: #e37be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d031d2",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 210
  },
  "hsl": {
    "h": 299.255,
    "s": 64.143,
    "l": 50.784
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.25376,
    "h": 327.6
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#D031D2
secondary
#8DD38C
accent
#E74143
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D031D2

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

Preview Lab → · Contrast checker → · Palette generator →

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