#E751D2#E751D2

#E751D2 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 68.1% C 0.231 H 333.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#E751D2
RGBrgb(231, 81, 210)
HSLhsl(308, 76%, 61%)
HSVhsv(308, 65%, 91%)
CMYKcmyk(0%, 64.9%, 9.1%, 9.4%)
CIE-LABlab(59.46, 71.60, -37.23)
CIE-LCHlch(59.46, 80.70, 332.53°)
OKLaboklab(68.07% 0.2072 -0.1017)
OKLCHoklch(68.07% 0.231 333.9)
XYZxyz(47.5306, 27.5307, 63.7709)
Luminance0.2753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E751D2 #51E766
analogous
#B151E7 #E751D2 #E75187
triadic
#E751D2 #D2E751 #51D2E7
tetradic
#E751D2 #E7B151 #51E766 #5187E7
square
#E751D2 #E7B151 #51E766 #5187E7
split-complementary
#E751D2 #87E751 #51E7B1
monochromatic
#A71793 #DC1EC2 #E751D2 #EE87E0 #F6BDEE

Accessibility & contrast

On white

3.23
#E751D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#E751D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E751D2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E751D2#FFFFFF#000000##000000
##E751D21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#8097CE
Tritanopia (blue-blind)
#F15D8B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #e751d2;
/* rgb */ color: rgb(231, 81, 210);
/* oklch */ color: oklch(68.1% 0.231 333.9);
Tailwind
colors: {
  custom: {
    50: '#f28ce0',
    500: '#e751d2',
    950: '#000000',
  },
}
SCSS
$custom: #e751d2;
$custom-light: #f28ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#e751d2",
  "rgb": {
    "r": 231,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 308.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68073,
    "c": 0.2308,
    "h": 333.9
  },
  "luminance": 0.27527
}

Semantic roles & 50–950 ramp

primary
#E751D2
secondary
#AEE6B6
accent
#D82A0E
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#170D15
muted
#857E83

Preview Lab

Preview with #E751D2

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

Preview Lab → · Contrast checker → · Palette generator →

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