#D751D8#D751D8

#D751D8 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.227 H 327.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D751D8
RGBrgb(215, 81, 216)
HSLhsl(300, 63%, 58%)
HSVhsv(300, 63%, 85%)
CMYKcmyk(0.5%, 62.5%, 0%, 15.3%)
CIE-LABlab(57.36, 68.70, -44.09)
CIE-LCHlch(57.36, 81.64, 327.31°)
OKLaboklab(66.17% 0.191 -0.1218)
OKLCHoklch(66.17% 0.227 327.5)
XYZxyz(43.3608, 25.2926, 67.5506)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751D8 #52D851
analogous
#9451D8 #D751D8 #D85195
triadic
#D751D8 #D8D751 #51D8D7
tetradic
#D751D8 #D89451 #52D851 #5195D8
square
#D751D8 #D89451 #52D851 #5195D8
split-complementary
#D751D8 #95D851 #51D894
monochromatic
#8E208F #C02BC1 #D751D8 #E283E3 #EEB5EE

Accessibility & contrast

On white

3.47
#D751D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D751D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751D8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751D8#FFFFFF#000000##000000
##D751D81.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDC
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#DD638E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d751d8;
/* rgb */ color: rgb(215, 81, 216);
/* oklch */ color: oklch(66.2% 0.227 327.5);
Tailwind
colors: {
  custom: {
    50: '#e78be4',
    500: '#d751d8',
    950: '#000000',
  },
}
SCSS
$custom: #d751d8;
$custom-light: #e78be4;
$custom-dark: #000000;
JSON
{
  "hex": "#d751d8",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 299.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6617,
    "c": 0.22656,
    "h": 327.5
  },
  "luminance": 0.2529
}

Semantic roles & 50–950 ramp

primary
#D751D8
secondary
#A8DDA8
accent
#E64143
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D751D8

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

Preview Lab → · Contrast checker → · Palette generator →

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