#E340E5#E340E5

#E340E5 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 67.0% C 0.262 H 327.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#E340E5
RGBrgb(227, 64, 229)
HSLhsl(299, 76%, 57%)
HSVhsv(299, 72%, 90%)
CMYKcmyk(0.9%, 72.1%, 0%, 10.2%)
CIE-LABlab(57.71, 79.49, -50.75)
CIE-LCHlch(57.71, 94.31, 327.44°)
OKLaboklab(67% 0.2209 -0.1408)
OKLCHoklch(67% 0.262 327.5)
XYZxyz(47.6541, 25.6582, 76.5561)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E340E5 #42E540
analogous
#9140E5 #E340E5 #E54094
triadic
#E340E5 #E5E340 #40E5E3
tetradic
#E340E5 #E59140 #42E540 #4094E5
square
#E340E5 #E59140 #42E540 #4094E5
split-complementary
#E340E5 #94E540 #40E591
monochromatic
#951496 #CA1CCC #E340E5 #EB76EC #F3ACF4

Accessibility & contrast

On white

3.43
#E340E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#E340E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E340E5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E340E5#FFFFFF#000000##000000
##E340E51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DEA
Deuteranopia (green-blind)
#6B92E1
Tritanopia (blue-blind)
#EA5A90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #e340e5;
/* rgb */ color: rgb(227, 64, 229);
/* oklch */ color: oklch(67.0% 0.262 327.5);
Tailwind
colors: {
  custom: {
    50: '#f084ee',
    500: '#e340e5',
    950: '#000000',
  },
}
SCSS
$custom: #e340e5;
$custom-light: #f084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#e340e5",
  "rgb": {
    "r": 227,
    "g": 64,
    "b": 229
  },
  "hsl": {
    "h": 299.273,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.66996,
    "c": 0.26194,
    "h": 327.5
  },
  "luminance": 0.25655
}

Semantic roles & 50–950 ramp

primary
#E340E5
secondary
#A0E29F
accent
#F33537
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E340E5

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

Preview Lab → · Contrast checker → · Palette generator →

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