#D751CA#D751CA

#D751CA is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.5% C 0.216 H 331.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D751CA
RGBrgb(215, 81, 202)
HSLhsl(306, 63%, 58%)
HSVhsv(306, 62%, 84%)
CMYKcmyk(0%, 62.3%, 6%, 15.7%)
CIE-LABlab(56.68, 66.42, -37.20)
CIE-LCHlch(56.68, 76.13, 330.75°)
OKLaboklab(65.46% 0.1899 -0.102)
OKLCHoklch(65.46% 0.216 331.8)
XYZxyz(41.6274, 24.5993, 58.4213)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751CA #51D75E
analogous
#A151D7 #D751CA #D75187
triadic
#D751CA #CAD751 #51CAD7
tetradic
#D751CA #D7A151 #51D75E #5187D7
square
#D751CA #D7A151 #51D75E #5187D7
split-complementary
#D751CA #87D751 #51D7A1
monochromatic
#8D2083 #BF2CB1 #D751CA #E283D9 #EEB5E8

Accessibility & contrast

On white

3.55
#D751CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D751CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751CA#FFFFFF#000000##000000
##D751CA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#778FC6
Tritanopia (blue-blind)
#DF5D86
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d751ca;
/* rgb */ color: rgb(215, 81, 202);
/* oklch */ color: oklch(65.5% 0.216 331.8);
Tailwind
colors: {
  custom: {
    50: '#e78ada',
    500: '#d751ca',
    950: '#000000',
  },
}
SCSS
$custom: #d751ca;
$custom-light: #e78ada;
$custom-dark: #000000;
JSON
{
  "hex": "#d751ca",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 305.821,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65458,
    "c": 0.21552,
    "h": 331.8
  },
  "luminance": 0.24596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D751CA

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

Preview Lab → · Contrast checker → · Palette generator →

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