#D031CF#D031CF

#D031CF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.9% C 0.252 H 328.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D031CF
RGBrgb(208, 49, 207)
HSLhsl(300, 63%, 50%)
HSVhsv(300, 76%, 82%)
CMYKcmyk(0%, 76.4%, 0.5%, 18.4%)
CIE-LABlab(51.97, 76.58, -47.58)
CIE-LCHlch(51.97, 90.16, 328.15°)
OKLaboklab(61.93% 0.2142 -0.1319)
OKLCHoklch(61.93% 0.252 328.4)
XYZxyz(38.3728, 20.1144, 60.8808)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031CF #31D032
analogous
#8131D0 #D031CF #D03180
triadic
#D031CF #CFD031 #31CFD0
tetradic
#D031CF #D08131 #31D032 #3180D0
square
#D031CF #D08131 #31D032 #3180D0
split-complementary
#D031CF #80D031 #31D081
monochromatic
#6E196D #9F249F #D031CF #DB63DB #E795E6

Accessibility & contrast

On white

4.18
#D031CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D031CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031CF#FFFFFF#000000##000000
##D031CF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#D74B7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d031cf;
/* rgb */ color: rgb(208, 49, 207);
/* oklch */ color: oklch(61.9% 0.252 328.4);
Tailwind
colors: {
  custom: {
    50: '#e37bde',
    500: '#d031cf',
    950: '#000000',
  },
}
SCSS
$custom: #d031cf;
$custom-light: #e37bde;
$custom-dark: #000000;
JSON
{
  "hex": "#d031cf",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 300.377,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.25159,
    "h": 328.4
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#D031CF
secondary
#8BD28B
accent
#E64342
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D031CF

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

Preview Lab → · Contrast checker → · Palette generator →

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