#E338D3#E338D3

#E338D3 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.4% C 0.257 H 332.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#E338D3
RGBrgb(227, 56, 211)
HSLhsl(306, 75%, 55%)
HSVhsv(306, 75%, 89%)
CMYKcmyk(0%, 75.3%, 7%, 11%)
CIE-LABlab(55.95, 79.12, -43.35)
CIE-LCHlch(55.95, 90.22, 331.28°)
OKLaboklab(65.44% 0.2275 -0.1192)
OKLCHoklch(65.44% 0.257 332.3)
XYZxyz(44.8508, 23.8662, 63.8598)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338D3 #38E348
analogous
#9D38E3 #E338D3 #E3387D
triadic
#E338D3 #D3E338 #38D3E3
tetradic
#E338D3 #E39D38 #38E348 #387DE3
square
#E338D3 #E39D38 #38E348 #387DE3
split-complementary
#E338D3 #7DE338 #38E39D
monochromatic
#8D1481 #C21BB3 #E338D3 #EB6EDF #F2A3EB

Accessibility & contrast

On white

3.64
#E338D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#E338D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338D3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338D3#FFFFFF#000000##000000
##E338D31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D7
Deuteranopia (green-blind)
#728FCF
Tritanopia (blue-blind)
#ED4C84
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #e338d3;
/* rgb */ color: rgb(227, 56, 211);
/* oklch */ color: oklch(65.4% 0.257 332.3);
Tailwind
colors: {
  custom: {
    50: '#f081e1',
    500: '#e338d3',
    950: '#000000',
  },
}
SCSS
$custom: #e338d3;
$custom-light: #f081e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e338d3",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 305.614,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.65436,
    "c": 0.25685,
    "h": 332.3
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#E338D3
secondary
#98DF9E
accent
#F24736
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #E338D3

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

Preview Lab → · Contrast checker → · Palette generator →

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