#D751C4#D751C4

#D751C4 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.211 H 333.7°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#D751C4
RGBrgb(215, 81, 196)
HSLhsl(309, 63%, 58%)
HSVhsv(309, 62%, 84%)
CMYKcmyk(0%, 62.3%, 8.8%, 15.7%)
CIE-LABlab(56.41, 65.48, -34.20)
CIE-LCHlch(56.41, 73.87, 332.42°)
OKLaboklab(65.17% 0.1892 -0.0934)
OKLCHoklch(65.17% 0.211 333.7)
XYZxyz(40.9308, 24.3206, 54.7524)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751C4 #51D764
analogous
#A751D7 #D751C4 #D75181
triadic
#D751C4 #C4D751 #51C4D7
tetradic
#D751C4 #D7A751 #51D764 #5181D7
square
#D751C4 #D7A751 #51D764 #5181D7
split-complementary
#D751C4 #81D751 #51D7A7
monochromatic
#8D207E #BF2CAA #D751C4 #E283D5 #EEB5E6

Accessibility & contrast

On white

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

On black

5.86
#D751C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751C4
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751C4#FFFFFF#000000##000000
##D751C41.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC7
Deuteranopia (green-blind)
#7A8EC1
Tritanopia (blue-blind)
#E05B83
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d751c4;
/* rgb */ color: rgb(215, 81, 196);
/* oklch */ color: oklch(65.2% 0.211 333.7);
Tailwind
colors: {
  custom: {
    50: '#e78ad6',
    500: '#d751c4',
    950: '#000000',
  },
}
SCSS
$custom: #d751c4;
$custom-light: #e78ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#d751c4",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 308.507,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.21096,
    "h": 333.7
  },
  "luminance": 0.24317
}

Semantic roles & 50–950 ramp

primary
#D751C4
secondary
#A7DDAF
accent
#E65942
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D751C4

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

Preview Lab → · Contrast checker → · Palette generator →

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