#D027BD#D027BD

#D027BD is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 60.3% C 0.247 H 333.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D027BD
RGBrgb(208, 39, 189)
HSLhsl(307, 68%, 48%)
HSVhsv(307, 81%, 82%)
CMYKcmyk(0%, 81.3%, 9.1%, 18.4%)
CIE-LABlab(50.14, 76.41, -40.08)
CIE-LCHlch(50.14, 86.28, 332.32°)
OKLaboklab(60.32% 0.2215 -0.1101)
OKLCHoklch(60.32% 0.247 333.6)
XYZxyz(35.9236, 18.5383, 49.8205)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D027BD #27D03A
analogous
#8F27D0 #D027BD #D02768
triadic
#D027BD #BDD027 #27BDD0
tetradic
#D027BD #D08F27 #27D03A #2768D0
square
#D027BD #D08F27 #27D03A #2768D0
split-complementary
#D027BD #68D027 #27D08F
monochromatic
#69145F #9C1D8E #D027BD #DF55D0 #E989DE

Accessibility & contrast

On white

4.46
#D027BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D027BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D027BD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D027BD#FFFFFF#000000##000000
##D027BD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C1
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#DA3C73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d027bd;
/* rgb */ color: rgb(208, 39, 189);
/* oklch */ color: oklch(60.3% 0.247 333.6);
Tailwind
colors: {
  custom: {
    50: '#e377d1',
    500: '#d027bd',
    950: '#000000',
  },
}
SCSS
$custom: #d027bd;
$custom-light: #e377d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d027bd",
  "rgb": {
    "r": 208,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 306.746,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60322,
    "c": 0.24735,
    "h": 333.6
  },
  "luminance": 0.18535
}

Semantic roles & 50–950 ramp

primary
#D027BD
secondary
#80D28A
accent
#EB503D
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #D027BD

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

Preview Lab → · Contrast checker → · Palette generator →

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