#D031BE#D031BE

#D031BE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.240 H 333.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D031BE
RGBrgb(208, 49, 190)
HSLhsl(307, 63%, 50%)
HSVhsv(307, 76%, 82%)
CMYKcmyk(0%, 76.4%, 8.7%, 18.4%)
CIE-LABlab(51.07, 74.03, -39.20)
CIE-LCHlch(51.07, 83.77, 332.10°)
OKLaboklab(61% 0.2141 -0.1076)
OKLCHoklch(61% 0.24 333.3)
XYZxyz(36.4053, 19.3274, 50.5184)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031BE #31D043
analogous
#9231D0 #D031BE #D0316F
triadic
#D031BE #BED031 #31BED0
tetradic
#D031BE #D09231 #31D043 #316FD0
square
#D031BE #D09231 #31D043 #316FD0
split-complementary
#D031BE #6FD031 #31D092
monochromatic
#6E1964 #9F2491 #D031BE #DB63CE #E795DD

Accessibility & contrast

On white

4.32
#D031BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D031BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031BE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031BE#FFFFFF#000000##000000
##D031BE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC2
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#DA4276
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d031be;
/* rgb */ color: rgb(208, 49, 190);
/* oklch */ color: oklch(61.0% 0.240 333.3);
Tailwind
colors: {
  custom: {
    50: '#e37bd2',
    500: '#d031be',
    950: '#000000',
  },
}
SCSS
$custom: #d031be;
$custom-light: #e37bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d031be",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 306.792,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61,
    "c": 0.23964,
    "h": 333.3
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#D031BE
secondary
#8BD293
accent
#E65442
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D031BE

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

Preview Lab → · Contrast checker → · Palette generator →

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