#D751D7#D751D7

#D751D7 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.226 H 327.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#D751D7
RGBrgb(215, 81, 215)
HSLhsl(300, 63%, 58%)
HSVhsv(300, 62%, 84%)
CMYKcmyk(0%, 62.3%, 0%, 15.7%)
CIE-LABlab(57.31, 68.54, -43.61)
CIE-LCHlch(57.31, 81.23, 327.53°)
OKLaboklab(66.12% 0.1909 -0.1204)
OKLCHoklch(66.12% 0.226 327.8)
XYZxyz(43.2319, 25.2411, 66.8718)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751D7 #51D751
analogous
#9451D7 #D751D7 #D75194
triadic
#D751D7 #D7D751 #51D7D7
tetradic
#D751D7 #D79451 #51D751 #5194D7
square
#D751D7 #D79451 #51D751 #5194D7
split-complementary
#D751D7 #94D751 #51D794
monochromatic
#8D208D #BF2CBF #D751D7 #E283E2 #EEB5EE

Accessibility & contrast

On white

3.47
#D751D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#D751D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751D7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751D7#FFFFFF#000000##000000
##D751D71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#7190D3
Tritanopia (blue-blind)
#DD638D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d751d7;
/* rgb */ color: rgb(215, 81, 215);
/* oklch */ color: oklch(66.1% 0.226 327.8);
Tailwind
colors: {
  custom: {
    50: '#e78be4',
    500: '#d751d7',
    950: '#000000',
  },
}
SCSS
$custom: #d751d7;
$custom-light: #e78be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d751d7",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 300,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.22575,
    "h": 327.8
  },
  "luminance": 0.25238
}

Semantic roles & 50–950 ramp

primary
#D751D7
secondary
#A7DDA7
accent
#E64242
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D15
muted
#847D84

Preview Lab

Preview with #D751D7

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

Preview Lab → · Contrast checker → · Palette generator →

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