#D751D4#D751D4

#D751D4 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.0% C 0.223 H 328.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#D751D4
RGBrgb(215, 81, 212)
HSLhsl(301, 63%, 58%)
HSVhsv(301, 62%, 84%)
CMYKcmyk(0%, 62.3%, 1.4%, 15.7%)
CIE-LABlab(57.16, 68.04, -42.14)
CIE-LCHlch(57.16, 80.03, 328.23°)
OKLaboklab(65.96% 0.1908 -0.1162)
OKLCHoklch(65.96% 0.223 328.7)
XYZxyz(42.8499, 25.0883, 64.8602)
Luminance0.2509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751D4 #51D754
analogous
#9751D7 #D751D4 #D75191
triadic
#D751D4 #D4D751 #51D4D7
tetradic
#D751D4 #D79751 #51D754 #5191D7
square
#D751D4 #D79751 #51D754 #5191D7
split-complementary
#D751D4 #91D751 #51D797
monochromatic
#8D208B #BF2CBC #D751D4 #E283E0 #EEB5ED

Accessibility & contrast

On white

3.49
#D751D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#D751D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751D4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751D4#FFFFFF#000000##000000
##D751D41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#7390D0
Tritanopia (blue-blind)
#DE618B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d751d4;
/* rgb */ color: rgb(215, 81, 212);
/* oklch */ color: oklch(66.0% 0.223 328.7);
Tailwind
colors: {
  custom: {
    50: '#e78be1',
    500: '#d751d4',
    950: '#000000',
  },
}
SCSS
$custom: #d751d4;
$custom-light: #e78be1;
$custom-dark: #000000;
JSON
{
  "hex": "#d751d4",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 301.343,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65962,
    "c": 0.22336,
    "h": 328.7
  },
  "luminance": 0.25085
}

Semantic roles & 50–950 ramp

primary
#D751D4
secondary
#A7DDA8
accent
#E64642
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D751D4

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

Preview Lab → · Contrast checker → · Palette generator →

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