#D751D9#D751D9

#D751D9 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.227 H 327.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D751D9
RGBrgb(215, 81, 217)
HSLhsl(299, 64%, 58%)
HSVhsv(299, 63%, 85%)
CMYKcmyk(0.9%, 62.7%, 0%, 14.9%)
CIE-LABlab(57.41, 68.87, -44.58)
CIE-LCHlch(57.41, 82.04, 327.08°)
OKLaboklab(66.22% 0.1911 -0.1232)
OKLCHoklch(66.22% 0.227 327.2)
XYZxyz(43.4904, 25.3445, 68.2335)
Luminance0.2534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751D9 #53D951
analogous
#9351D9 #D751D9 #D95197
triadic
#D751D9 #D9D751 #51D9D7
tetradic
#D751D9 #D99351 #53D951 #5197D9
square
#D751D9 #D99351 #53D951 #5197D9
split-complementary
#D751D9 #97D951 #51D993
monochromatic
#8E1F90 #C02AC2 #D751D9 #E383E4 #EEB5EF

Accessibility & contrast

On white

3.46
#D751D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D751D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751D9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751D9#FFFFFF#000000##000000
##D751D91.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7FDD
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#DD638E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d751d9;
/* rgb */ color: rgb(215, 81, 217);
/* oklch */ color: oklch(66.2% 0.227 327.2);
Tailwind
colors: {
  custom: {
    50: '#e78be5',
    500: '#d751d9',
    950: '#000000',
  },
}
SCSS
$custom: #d751d9;
$custom-light: #e78be5;
$custom-dark: #000000;
JSON
{
  "hex": "#d751d9",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 299.118,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66222,
    "c": 0.22736,
    "h": 327.2
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#D751D9
secondary
#A9DEA8
accent
#E74143
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D751D9

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

Preview Lab → · Contrast checker → · Palette generator →

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