#D031C0#D031C0

#D031C0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.241 H 332.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D031C0
RGBrgb(208, 49, 192)
HSLhsl(306, 63%, 50%)
HSVhsv(306, 76%, 82%)
CMYKcmyk(0%, 76.4%, 7.7%, 18.4%)
CIE-LABlab(51.17, 74.32, -40.20)
CIE-LCHlch(51.17, 84.50, 331.59°)
OKLaboklab(61.11% 0.2142 -0.1105)
OKLCHoklch(61.11% 0.241 332.7)
XYZxyz(36.6254, 19.4154, 51.6775)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031C0 #31D041
analogous
#9131D0 #D031C0 #D03170
triadic
#D031C0 #C0D031 #31C0D0
tetradic
#D031C0 #D09131 #31D041 #3170D0
square
#D031C0 #D09131 #31D041 #3170D0
split-complementary
#D031C0 #70D031 #31D091
monochromatic
#6E1965 #9F2493 #D031C0 #DB63CF #E795DE

Accessibility & contrast

On white

4.30
#D031C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D031C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031C0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031C0#FFFFFF#000000##000000
##D031C01.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#276CC4
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#D94377
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d031c0;
/* rgb */ color: rgb(208, 49, 192);
/* oklch */ color: oklch(61.1% 0.241 332.7);
Tailwind
colors: {
  custom: {
    50: '#e37bd3',
    500: '#d031c0',
    950: '#000000',
  },
}
SCSS
$custom: #d031c0;
$custom-light: #e37bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d031c0",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 306.038,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.24102,
    "h": 332.7
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#D031C0
secondary
#8BD292
accent
#E65242
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D031C0

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

Preview Lab → · Contrast checker → · Palette generator →

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