#D751C5#D751C5

#D751C5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.2% C 0.212 H 333.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#D751C5
RGBrgb(215, 81, 197)
HSLhsl(308, 63%, 58%)
HSVhsv(308, 62%, 84%)
CMYKcmyk(0%, 62.3%, 8.4%, 15.7%)
CIE-LABlab(56.45, 65.63, -34.70)
CIE-LCHlch(56.45, 74.24, 332.13°)
OKLaboklab(65.22% 0.1893 -0.0948)
OKLCHoklch(65.22% 0.212 333.4)
XYZxyz(41.0450, 24.3663, 55.3539)
Luminance0.2436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751C5 #51D763
analogous
#A651D7 #D751C5 #D75182
triadic
#D751C5 #C5D751 #51C5D7
tetradic
#D751C5 #D7A651 #51D763 #5182D7
square
#D751C5 #D7A651 #51D763 #5182D7
split-complementary
#D751C5 #82D751 #51D7A6
monochromatic
#8D207F #BF2CAB #D751C5 #E283D6 #EEB5E6

Accessibility & contrast

On white

3.58
#D751C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#D751C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751C5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751C5#FFFFFF#000000##000000
##D751C51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#7A8EC2
Tritanopia (blue-blind)
#E05B84
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d751c5;
/* rgb */ color: rgb(215, 81, 197);
/* oklch */ color: oklch(65.2% 0.212 333.4);
Tailwind
colors: {
  custom: {
    50: '#e78ad7',
    500: '#d751c5',
    950: '#000000',
  },
}
SCSS
$custom: #d751c5;
$custom-light: #e78ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#d751c5",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 197
  },
  "hsl": {
    "h": 308.06,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65216,
    "c": 0.21172,
    "h": 333.4
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D751C5

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

Preview Lab → · Contrast checker → · Palette generator →

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