#D751C8#D751C8

#D751C8 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.4% C 0.214 H 332.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#D751C8
RGBrgb(215, 81, 200)
HSLhsl(307, 63%, 58%)
HSVhsv(307, 62%, 84%)
CMYKcmyk(0%, 62.3%, 7%, 15.7%)
CIE-LABlab(56.59, 66.10, -36.21)
CIE-LCHlch(56.59, 75.37, 331.29°)
OKLaboklab(65.36% 0.1897 -0.0991)
OKLCHoklch(65.36% 0.214 332.4)
XYZxyz(41.3921, 24.5052, 57.1823)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751C8 #51D760
analogous
#A351D7 #D751C8 #D75185
triadic
#D751C8 #C8D751 #51C8D7
tetradic
#D751C8 #D7A351 #51D760 #5185D7
square
#D751C8 #D7A351 #51D760 #5185D7
split-complementary
#D751C8 #85D751 #51D7A3
monochromatic
#8D2081 #BF2CAE #D751C8 #E283D8 #EEB5E7

Accessibility & contrast

On white

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

On black

5.90
#D751C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751C8#FFFFFF#000000##000000
##D751C81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCC
Deuteranopia (green-blind)
#788FC4
Tritanopia (blue-blind)
#E05D85
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d751c8;
/* rgb */ color: rgb(215, 81, 200);
/* oklch */ color: oklch(65.4% 0.214 332.4);
Tailwind
colors: {
  custom: {
    50: '#e78ad9',
    500: '#d751c8',
    950: '#000000',
  },
}
SCSS
$custom: #d751c8;
$custom-light: #e78ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#d751c8",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 306.716,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6536,
    "c": 0.21399,
    "h": 332.4
  },
  "luminance": 0.24502
}

Semantic roles & 50–950 ramp

primary
#D751C8
secondary
#A7DDAD
accent
#E65442
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D751C8

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

Preview Lab → · Contrast checker → · Palette generator →

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