#D751C2#D751C2

#D751C2 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.1% C 0.209 H 334.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D751C2
RGBrgb(215, 81, 194)
HSLhsl(309, 63%, 58%)
HSVhsv(309, 62%, 84%)
CMYKcmyk(0%, 62.3%, 9.8%, 15.7%)
CIE-LABlab(56.32, 65.17, -33.19)
CIE-LCHlch(56.32, 73.14, 333.01°)
OKLaboklab(65.07% 0.1889 -0.0905)
OKLCHoklch(65.07% 0.209 334.4)
XYZxyz(40.7046, 24.2302, 53.5615)
Luminance0.2423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751C2 #51D766
analogous
#A951D7 #D751C2 #D7517F
triadic
#D751C2 #C2D751 #51C2D7
tetradic
#D751C2 #D7A951 #51D766 #517FD7
square
#D751C2 #D7A951 #51D766 #517FD7
split-complementary
#D751C2 #7FD751 #51D7A9
monochromatic
#8D207C #BF2CA8 #D751C2 #E283D3 #EEB5E5

Accessibility & contrast

On white

3.59
#D751C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D751C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751C2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751C2#FFFFFF#000000##000000
##D751C21.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#7B8EBF
Tritanopia (blue-blind)
#E15A82
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d751c2;
/* rgb */ color: rgb(215, 81, 194);
/* oklch */ color: oklch(65.1% 0.209 334.4);
Tailwind
colors: {
  custom: {
    50: '#e78ad5',
    500: '#d751c2',
    950: '#000000',
  },
}
SCSS
$custom: #d751c2;
$custom-light: #e78ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#d751c2",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 309.403,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.65073,
    "c": 0.20946,
    "h": 334.4
  },
  "luminance": 0.24227
}

Semantic roles & 50–950 ramp

primary
#D751C2
secondary
#A7DDB0
accent
#E65C42
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D751C2

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

Preview Lab → · Contrast checker → · Palette generator →

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