#D751D2#D751D2

#D751D2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 65.9% C 0.222 H 329.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D751D2
RGBrgb(215, 81, 210)
HSLhsl(302, 63%, 58%)
HSVhsv(302, 62%, 84%)
CMYKcmyk(0%, 62.3%, 2.3%, 15.7%)
CIE-LABlab(57.06, 67.71, -41.16)
CIE-LCHlch(57.06, 79.24, 328.71°)
OKLaboklab(65.86% 0.1906 -0.1134)
OKLCHoklch(65.86% 0.222 329.3)
XYZxyz(42.5992, 24.9880, 63.5397)
Luminance0.2498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751D2 #51D756
analogous
#9951D7 #D751D2 #D7518F
triadic
#D751D2 #D2D751 #51D2D7
tetradic
#D751D2 #D79951 #51D756 #518FD7
square
#D751D2 #D79951 #51D756 #518FD7
split-complementary
#D751D2 #8FD751 #51D799
monochromatic
#8D2089 #BF2CB9 #D751D2 #E283DF #EEB5EC

Accessibility & contrast

On white

3.50
#D751D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D751D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751D2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751D2#FFFFFF#000000##000000
##D751D21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#748FCE
Tritanopia (blue-blind)
#DE618A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d751d2;
/* rgb */ color: rgb(215, 81, 210);
/* oklch */ color: oklch(65.9% 0.222 329.3);
Tailwind
colors: {
  custom: {
    50: '#e78be0',
    500: '#d751d2',
    950: '#000000',
  },
}
SCSS
$custom: #d751d2;
$custom-light: #e78be0;
$custom-dark: #000000;
JSON
{
  "hex": "#d751d2",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 302.239,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.22176,
    "h": 329.3
  },
  "luminance": 0.24985
}

Semantic roles & 50–950 ramp

primary
#D751D2
secondary
#A7DDA9
accent
#E64842
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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