#D751DC#D751DC

#D751DC is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.4% C 0.230 H 326.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D751DC
RGBrgb(215, 81, 220)
HSLhsl(298, 67%, 59%)
HSVhsv(298, 63%, 86%)
CMYKcmyk(2.3%, 63.2%, 0%, 13.7%)
CIE-LABlab(57.56, 69.38, -46.04)
CIE-LCHlch(57.56, 83.26, 326.43°)
OKLaboklab(66.38% 0.1912 -0.1275)
OKLCHoklch(66.38% 0.23 326.3)
XYZxyz(43.8842, 25.5020, 70.3072)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751DC #56DC51
analogous
#9251DC #D751DC #DC519C
triadic
#D751DC #DCD751 #51DCD7
tetradic
#D751DC #DC9251 #56DC51 #519CDC
square
#D751DC #DC9251 #56DC51 #519CDC
split-complementary
#D751DC #9CDC51 #51DC92
monochromatic
#901E95 #C228C8 #D751DC #E384E6 #EEB7F0

Accessibility & contrast

On white

3.44
#D751DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D751DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751DC#FFFFFF#000000##000000
##D751DC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#DC6590
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d751dc;
/* rgb */ color: rgb(215, 81, 220);
/* oklch */ color: oklch(66.4% 0.230 326.3);
Tailwind
colors: {
  custom: {
    50: '#e78be7',
    500: '#d751dc',
    950: '#000000',
  },
}
SCSS
$custom: #d751dc;
$custom-light: #e78be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d751dc",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 297.842,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66381,
    "c": 0.2298,
    "h": 326.3
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

primary
#D751DC
secondary
#ABE0A9
accent
#E93E45
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D751DC

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

Preview Lab → · Contrast checker → · Palette generator →

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