#D751CC#D751CC

#D751CC is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.6% C 0.217 H 331.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#D751CC
RGBrgb(215, 81, 204)
HSLhsl(305, 63%, 58%)
HSVhsv(305, 62%, 84%)
CMYKcmyk(0%, 62.3%, 5.1%, 15.7%)
CIE-LABlab(56.78, 66.74, -38.20)
CIE-LCHlch(56.78, 76.90, 330.22°)
OKLaboklab(65.56% 0.1901 -0.1048)
OKLCHoklch(65.56% 0.217 331.1)
XYZxyz(41.8657, 24.6946, 59.6765)
Luminance0.2469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751CC #51D75C
analogous
#9F51D7 #D751CC #D75189
triadic
#D751CC #CCD751 #51CCD7
tetradic
#D751CC #D79F51 #51D75C #5189D7
square
#D751CC #D79F51 #51D75C #5189D7
split-complementary
#D751CC #89D751 #51D79F
monochromatic
#8D2084 #BF2CB3 #D751CC #E283DB #EEB5E9

Accessibility & contrast

On white

3.54
#D751CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#D751CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751CC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751CC#FFFFFF#000000##000000
##D751CC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CD0
Deuteranopia (green-blind)
#768FC8
Tritanopia (blue-blind)
#DF5E87
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d751cc;
/* rgb */ color: rgb(215, 81, 204);
/* oklch */ color: oklch(65.6% 0.217 331.1);
Tailwind
colors: {
  custom: {
    50: '#e78adc',
    500: '#d751cc',
    950: '#000000',
  },
}
SCSS
$custom: #d751cc;
$custom-light: #e78adc;
$custom-dark: #000000;
JSON
{
  "hex": "#d751cc",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 304.925,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.21706,
    "h": 331.1
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#D751CC
secondary
#A7DDAC
accent
#E65042
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #D751CC

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

Preview Lab → · Contrast checker → · Palette generator →

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