#E751F2#E751F2

#E751F2 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.7% C 0.255 H 325.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#E751F2
RGBrgb(231, 81, 242)
HSLhsl(296, 86%, 63%)
HSVhsv(296, 67%, 95%)
CMYKcmyk(4.5%, 66.5%, 0%, 5.1%)
CIE-LABlab(61.03, 76.69, -52.70)
CIE-LCHlch(61.03, 93.05, 325.50°)
OKLaboklab(69.72% 0.209 -0.1464)
OKLCHoklch(69.72% 0.255 325)
XYZxyz(51.9232, 29.2878, 86.9054)
Luminance0.2928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E751F2 #5CF251
analogous
#9751F2 #E751F2 #F251AC
triadic
#E751F2 #F2E751 #51F2E7
tetradic
#E751F2 #F29751 #5CF251 #51ACF2
square
#E751F2 #F29751 #5CF251 #51ACF2
split-complementary
#E751F2 #ACF251 #51F297
monochromatic
#AF0EBB #DF18EE #E751F2 #EF8AF6 #F7C3FB

Accessibility & contrast

On white

3.06
#E751F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#E751F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E751F2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E751F2#FFFFFF#000000##000000
##E751F21.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D88F7
Deuteranopia (green-blind)
#709AEE
Tritanopia (blue-blind)
#EC6A9C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #e751f2;
/* rgb */ color: rgb(231, 81, 242);
/* oklch */ color: oklch(69.7% 0.255 325.0);
Tailwind
colors: {
  custom: {
    50: '#f28df7',
    500: '#e751f2',
    950: '#000000',
  },
}
SCSS
$custom: #e751f2;
$custom-light: #f28df7;
$custom-dark: #000000;
JSON
{
  "hex": "#e751f2",
  "rgb": {
    "r": 231,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 295.901,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6972,
    "c": 0.25517,
    "h": 325
  },
  "luminance": 0.29285
}

Semantic roles & 50–950 ramp

primary
#E751F2
secondary
#B7ECB3
accent
#E30312
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#170D17
muted
#857E85

Preview Lab

Preview with #E751F2

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

Preview Lab → · Contrast checker → · Palette generator →

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