#E342D2#E342D2

#E342D2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.1% C 0.246 H 332.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#E342D2
RGBrgb(227, 66, 210)
HSLhsl(306, 74%, 57%)
HSVhsv(306, 71%, 89%)
CMYKcmyk(0%, 70.9%, 7.5%, 11%)
CIE-LABlab(56.96, 75.95, -41.19)
CIE-LCHlch(56.96, 86.41, 331.53°)
OKLaboklab(66.15% 0.2186 -0.1131)
OKLCHoklch(66.15% 0.246 332.6)
XYZxyz(45.2598, 24.8842, 63.3797)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E342D2 #42E353
analogous
#A342E3 #E342D2 #E34282
triadic
#E342D2 #D2E342 #42D2E3
tetradic
#E342D2 #E3A342 #42E353 #4282E3
square
#E342D2 #E3A342 #42E353 #4282E3
split-complementary
#E342D2 #82E342 #42E3A3
monochromatic
#951687 #CA1EB8 #E342D2 #EB77DF #F3ADEB

Accessibility & contrast

On white

3.51
#E342D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#E342D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E342D2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E342D2#FFFFFF#000000##000000
##E342D21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#7691CE
Tritanopia (blue-blind)
#ED5386
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #e342d2;
/* rgb */ color: rgb(227, 66, 210);
/* oklch */ color: oklch(66.1% 0.246 332.6);
Tailwind
colors: {
  custom: {
    50: '#f085e0',
    500: '#e342d2',
    950: '#000000',
  },
}
SCSS
$custom: #e342d2;
$custom-light: #f085e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e342d2",
  "rgb": {
    "r": 227,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 306.335,
    "s": 74.194,
    "l": 57.451
  },
  "oklch": {
    "l": 0.66145,
    "c": 0.24615,
    "h": 332.6
  },
  "luminance": 0.2488
}

Semantic roles & 50–950 ramp

primary
#E342D2
secondary
#A0E1A7
accent
#F14B37
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E342D2

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

Preview Lab → · Contrast checker → · Palette generator →

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