#D051D7#D051D7

#D051D7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.222 H 325.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D051D7
RGBrgb(208, 81, 215)
HSLhsl(297, 63%, 58%)
HSVhsv(297, 62%, 84%)
CMYKcmyk(3.3%, 62.3%, 0%, 15.7%)
CIE-LABlab(56.29, 66.87, -45.28)
CIE-LCHlch(56.29, 80.76, 325.89°)
OKLaboklab(65.18% 0.1833 -0.1255)
OKLCHoklch(65.18% 0.222 325.6)
XYZxyz(41.2197, 24.2036, 66.7774)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D051D7 #58D751
analogous
#8D51D7 #D051D7 #D7519B
triadic
#D051D7 #D7D051 #51D7D0
tetradic
#D051D7 #D78D51 #58D751 #519BD7
square
#D051D7 #D78D51 #58D751 #519BD7
split-complementary
#D051D7 #9BD751 #51D78D
monochromatic
#87208D #B72CBF #D051D7 #DD83E2 #EBB5EE

Accessibility & contrast

On white

3.60
#D051D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D051D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D051D7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D051D7#FFFFFF#000000##000000
##D051D71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDB
Deuteranopia (green-blind)
#6B8CD3
Tritanopia (blue-blind)
#D5648D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d051d7;
/* rgb */ color: rgb(208, 81, 215);
/* oklch */ color: oklch(65.2% 0.222 325.6);
Tailwind
colors: {
  custom: {
    50: '#e28ae4',
    500: '#d051d7',
    950: '#000000',
  },
}
SCSS
$custom: #d051d7;
$custom-light: #e28ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#d051d7",
  "rgb": {
    "r": 208,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 296.866,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65175,
    "c": 0.22215,
    "h": 325.6
  },
  "luminance": 0.24201
}

Semantic roles & 50–950 ramp

primary
#D051D7
secondary
#AADDA7
accent
#E6424B
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D051D7

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

Preview Lab → · Contrast checker → · Palette generator →

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