#E742D7#E742D7

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

Color values

HEX#E742D7
RGBrgb(231, 66, 215)
HSLhsl(306, 77%, 58%)
HSVhsv(306, 71%, 91%)
CMYKcmyk(0%, 71.4%, 6.9%, 9.4%)
CIE-LABlab(57.84, 77.58, -42.60)
CIE-LCHlch(57.84, 88.50, 331.22°)
OKLaboklab(66.98% 0.2228 -0.1171)
OKLCHoklch(66.98% 0.252 332.3)
XYZxyz(47.1691, 25.7955, 66.7715)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E742D7 #42E752
analogous
#A442E7 #E742D7 #E74284
triadic
#E742D7 #D7E742 #42D7E7
tetradic
#E742D7 #E7A442 #42E752 #4284E7
square
#E742D7 #E7A442 #42E752 #4284E7
split-complementary
#E742D7 #84E742 #42E7A4
monochromatic
#9B148E #D11BC0 #E742D7 #EE78E2 #F5AFEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E742D7#FFFFFF#000000##000000
##E742D71.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)
#387CDB
Deuteranopia (green-blind)
#7793D3
Tritanopia (blue-blind)
#F15488
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e742d7;
/* rgb */ color: rgb(231, 66, 215);
/* oklch */ color: oklch(67.0% 0.252 332.3);
Tailwind
colors: {
  custom: {
    50: '#f385e4',
    500: '#e742d7',
    950: '#000000',
  },
}
SCSS
$custom: #e742d7;
$custom-light: #f385e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e742d7",
  "rgb": {
    "r": 231,
    "g": 66,
    "b": 215
  },
  "hsl": {
    "h": 305.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66979,
    "c": 0.25172,
    "h": 332.3
  },
  "luminance": 0.25792
}

Semantic roles & 50–950 ramp

primary
#E742D7
secondary
#A2E3A8
accent
#F44634
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #E742D7

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

Preview Lab → · Contrast checker → · Palette generator →

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