#E142D8#E142D8

#E142D8 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.2% C 0.249 H 330.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#E142D8
RGBrgb(225, 66, 216)
HSLhsl(303, 73%, 57%)
HSVhsv(303, 71%, 88%)
CMYKcmyk(0%, 70.7%, 4%, 11.8%)
CIE-LABlab(56.94, 76.42, -44.65)
CIE-LCHlch(56.94, 88.51, 329.70°)
OKLaboklab(66.17% 0.2169 -0.1231)
OKLCHoklch(66.17% 0.249 330.4)
XYZxyz(45.3940, 24.8654, 67.3611)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E142D8 #42E14B
analogous
#9A42E1 #E142D8 #E14289
triadic
#E142D8 #D8E142 #42D8E1
tetradic
#E142D8 #E19A42 #42E14B #4289E1
square
#E142D8 #E19A42 #42E14B #4289E1
split-complementary
#E142D8 #89E142 #42E19A
monochromatic
#92178B #C61FBD #E142D8 #E977E3 #F2ACEE

Accessibility & contrast

On white

3.52
#E142D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#E142D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E142D8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E142D8#FFFFFF#000000##000000
##E142D81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#7290D4
Tritanopia (blue-blind)
#E95689
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e142d8;
/* rgb */ color: rgb(225, 66, 216);
/* oklch */ color: oklch(66.2% 0.249 330.4);
Tailwind
colors: {
  custom: {
    50: '#ee85e4',
    500: '#e142d8',
    950: '#000000',
  },
}
SCSS
$custom: #e142d8;
$custom-light: #ee85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e142d8",
  "rgb": {
    "r": 225,
    "g": 66,
    "b": 216
  },
  "hsl": {
    "h": 303.396,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.24942,
    "h": 330.4
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#E142D8
secondary
#9FE0A3
accent
#EF4338
background
#FFF8FE
surface
#FEF0FC
border
#D6CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E142D8

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

Preview Lab → · Contrast checker → · Palette generator →

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