#E751D5#E751D5

#E751D5 is a light, highly saturated purple. Relative luminance 0.277; OKLCH L 68.2% C 0.233 H 332.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#E751D5
RGBrgb(231, 81, 213)
HSLhsl(307, 76%, 61%)
HSVhsv(307, 65%, 91%)
CMYKcmyk(0%, 64.9%, 7.8%, 9.4%)
CIE-LABlab(59.60, 72.06, -38.71)
CIE-LCHlch(59.60, 81.79, 331.75°)
OKLaboklab(68.22% 0.2075 -0.106)
OKLCHoklch(68.22% 0.233 332.9)
XYZxyz(47.9078, 27.6816, 65.7577)
Luminance0.2768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E751D5 #51E763
analogous
#AE51E7 #E751D5 #E7518A
triadic
#E751D5 #D5E751 #51D5E7
tetradic
#E751D5 #E7AE51 #51E763 #518AE7
square
#E751D5 #E7AE51 #51E763 #518AE7
split-complementary
#E751D5 #8AE751 #51E7AE
monochromatic
#A71795 #DC1EC6 #E751D5 #EE87E2 #F6BDEF

Accessibility & contrast

On white

3.21
#E751D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#E751D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E751D5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E751D5#FFFFFF#000000##000000
##E751D51.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#7F97D1
Tritanopia (blue-blind)
#F15E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e751d5;
/* rgb */ color: rgb(231, 81, 213);
/* oklch */ color: oklch(68.2% 0.233 332.9);
Tailwind
colors: {
  custom: {
    50: '#f28ce2',
    500: '#e751d5',
    950: '#000000',
  },
}
SCSS
$custom: #e751d5;
$custom-light: #f28ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#e751d5",
  "rgb": {
    "r": 231,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 307.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68218,
    "c": 0.23298,
    "h": 332.9
  },
  "luminance": 0.27678
}

Semantic roles & 50–950 ramp

primary
#E751D5
secondary
#AEE6B4
accent
#D8260E
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E751D5

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

Preview Lab → · Contrast checker → · Palette generator →

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