#D031BF#D031BF

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

Color values

HEX#D031BF
RGBrgb(208, 49, 191)
HSLhsl(306, 63%, 50%)
HSVhsv(306, 76%, 82%)
CMYKcmyk(0%, 76.4%, 8.2%, 18.4%)
CIE-LABlab(51.12, 74.17, -39.70)
CIE-LCHlch(51.12, 84.13, 331.84°)
OKLaboklab(61.05% 0.2142 -0.1091)
OKLCHoklch(61.05% 0.24 333)
XYZxyz(36.5149, 19.3713, 51.0960)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D031BF #31D042
analogous
#9131D0 #D031BF #D0316F
triadic
#D031BF #BFD031 #31BFD0
tetradic
#D031BF #D09131 #31D042 #316FD0
square
#D031BF #D09131 #31D042 #316FD0
split-complementary
#D031BF #6FD031 #31D091
monochromatic
#6E1965 #9F2492 #D031BF #DB63CE #E795DE

Accessibility & contrast

On white

4.31
#D031BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D031BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D031BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D031BF#FFFFFF#000000##000000
##D031BF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#286BC3
Deuteranopia (green-blind)
#6882BB
Tritanopia (blue-blind)
#D94376
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d031bf;
/* rgb */ color: rgb(208, 49, 191);
/* oklch */ color: oklch(61.1% 0.240 333.0);
Tailwind
colors: {
  custom: {
    50: '#e37bd3',
    500: '#d031bf',
    950: '#000000',
  },
}
SCSS
$custom: #d031bf;
$custom-light: #e37bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d031bf",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 306.415,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.61053,
    "c": 0.24033,
    "h": 333
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#D031BF
secondary
#8BD293
accent
#E65342
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D031BF

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

Preview Lab → · Contrast checker → · Palette generator →

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