#D751E2#D751E2

#D751E2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.7% C 0.235 H 324.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#D751E2
RGBrgb(215, 81, 226)
HSLhsl(295, 71%, 60%)
HSVhsv(295, 64%, 89%)
CMYKcmyk(4.9%, 64.2%, 0%, 11.4%)
CIE-LABlab(57.87, 70.40, -48.93)
CIE-LCHlch(57.87, 85.73, 325.20°)
OKLaboklab(66.71% 0.1914 -0.1359)
OKLCHoklch(66.71% 0.235 324.6)
XYZxyz(44.6931, 25.8256, 74.5675)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D751E2 #5CE251
analogous
#8E51E2 #D751E2 #E251A5
triadic
#D751E2 #E2D751 #51E2D7
tetradic
#D751E2 #E28E51 #5CE251 #51A5E2
square
#D751E2 #E28E51 #5CE251 #51A5E2
split-complementary
#D751E2 #A5E251 #51E28E
monochromatic
#941A9E #C523D3 #D751E2 #E385EB #EFBAF3

Accessibility & contrast

On white

3.41
#D751E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#D751E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D751E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D751E2#FFFFFF#000000##000000
##D751E21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#6B91DE
Tritanopia (blue-blind)
#DB6793
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d751e2;
/* rgb */ color: rgb(215, 81, 226);
/* oklch */ color: oklch(66.7% 0.235 324.6);
Tailwind
colors: {
  custom: {
    50: '#e78bec',
    500: '#d751e2',
    950: '#000000',
  },
}
SCSS
$custom: #d751e2;
$custom-light: #e78bec;
$custom-dark: #000000;
JSON
{
  "hex": "#d751e2",
  "rgb": {
    "r": 215,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 295.448,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.23472,
    "h": 324.6
  },
  "luminance": 0.25823
}

Semantic roles & 50–950 ramp

primary
#D751E2
secondary
#B0E3AC
accent
#D31221
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D751E2

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

Preview Lab → · Contrast checker → · Palette generator →

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