#D751CD#D751CD

#D751CD is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.218 H 330.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D751CD
RGBrgb(215, 81, 205)
HSLhsl(304, 63%, 58%)
HSVhsv(304, 62%, 84%)
CMYKcmyk(0%, 62.3%, 4.7%, 15.7%)
CIE-LABlab(56.82, 66.90, -38.69)
CIE-LCHlch(56.82, 77.28, 329.96°)
OKLaboklab(65.61% 0.1902 -0.1062)
OKLCHoklch(65.61% 0.218 330.8)
XYZxyz(41.9860, 24.7427, 60.3102)
Luminance0.2474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751CD #51D75B
analogous
#9E51D7 #D751CD #D7518A
triadic
#D751CD #CDD751 #51CDD7
tetradic
#D751CD #D79E51 #51D75B #518AD7
square
#D751CD #D79E51 #51D75B #518AD7
split-complementary
#D751CD #8AD751 #51D79E
monochromatic
#8D2085 #BF2CB4 #D751CD #E283DB #EEB5EA

Accessibility & contrast

On white

3.53
#D751CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D751CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751CD#FFFFFF#000000##000000
##D751CD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#768FC9
Tritanopia (blue-blind)
#DF5F88
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d751cd;
/* rgb */ color: rgb(215, 81, 205);
/* oklch */ color: oklch(65.6% 0.218 330.8);
Tailwind
colors: {
  custom: {
    50: '#e78adc',
    500: '#d751cd',
    950: '#000000',
  },
}
SCSS
$custom: #d751cd;
$custom-light: #e78adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d751cd",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 304.478,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.21784,
    "h": 330.8
  },
  "luminance": 0.2474
}

Semantic roles & 50–950 ramp

primary
#D751CD
secondary
#A7DDAB
accent
#E64E42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D751CD

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

Preview Lab → · Contrast checker → · Palette generator →

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