#D751C7#D751C7

#D751C7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.213 H 332.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#D751C7
RGBrgb(215, 81, 199)
HSLhsl(307, 63%, 58%)
HSVhsv(307, 62%, 84%)
CMYKcmyk(0%, 62.3%, 7.4%, 15.7%)
CIE-LABlab(56.54, 65.95, -35.71)
CIE-LCHlch(56.54, 74.99, 331.57°)
OKLaboklab(65.31% 0.1895 -0.0977)
OKLCHoklch(65.31% 0.213 332.7)
XYZxyz(41.2756, 24.4586, 56.5688)
Luminance0.2445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751C7 #51D761
analogous
#A451D7 #D751C7 #D75184
triadic
#D751C7 #C7D751 #51C7D7
tetradic
#D751C7 #D7A451 #51D761 #5184D7
square
#D751C7 #D7A451 #51D761 #5184D7
split-complementary
#D751C7 #84D751 #51D7A4
monochromatic
#8D2080 #BF2CAD #D751C7 #E283D7 #EEB5E7

Accessibility & contrast

On white

3.56
#D751C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#D751C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751C7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751C7#FFFFFF#000000##000000
##D751C71.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#798FC3
Tritanopia (blue-blind)
#E05C85
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d751c7;
/* rgb */ color: rgb(215, 81, 199);
/* oklch */ color: oklch(65.3% 0.213 332.7);
Tailwind
colors: {
  custom: {
    50: '#e78ad8',
    500: '#d751c7',
    950: '#000000',
  },
}
SCSS
$custom: #d751c7;
$custom-light: #e78ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#d751c7",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 307.164,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65312,
    "c": 0.21323,
    "h": 332.7
  },
  "luminance": 0.24455
}

Semantic roles & 50–950 ramp

primary
#D751C7
secondary
#A7DDAE
accent
#E65642
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D751C7

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

Preview Lab → · Contrast checker → · Palette generator →

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