#E338E3#E338E3

#E338E3 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.3% C 0.268 H 328.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#E338E3
RGBrgb(227, 56, 227)
HSLhsl(300, 75%, 55%)
HSVhsv(300, 75%, 89%)
CMYKcmyk(0%, 75.3%, 0%, 11%)
CIE-LABlab(56.79, 81.52, -51.09)
CIE-LCHlch(56.79, 96.20, 327.92°)
OKLaboklab(66.3% 0.2275 -0.1417)
OKLCHoklch(66.3% 0.268 328.1)
XYZxyz(46.9573, 24.7088, 74.9542)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338E3 #38E338
analogous
#8D38E3 #E338E3 #E3388D
triadic
#E338E3 #E3E338 #38E3E3
tetradic
#E338E3 #E38D38 #38E338 #388DE3
square
#E338E3 #E38D38 #38E338 #388DE3
split-complementary
#E338E3 #8DE338 #38E38D
monochromatic
#8D148D #C21BC2 #E338E3 #EB6EEB #F2A3F2

Accessibility & contrast

On white

3.53
#E338E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#E338E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338E3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338E3#FFFFFF#000000##000000
##E338E31.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#047AE8
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#EA558D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e338e3;
/* rgb */ color: rgb(227, 56, 227);
/* oklch */ color: oklch(66.3% 0.268 328.1);
Tailwind
colors: {
  custom: {
    50: '#f081ec',
    500: '#e338e3',
    950: '#000000',
  },
}
SCSS
$custom: #e338e3;
$custom-light: #f081ec;
$custom-dark: #000000;
JSON
{
  "hex": "#e338e3",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 227
  },
  "hsl": {
    "h": 300,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.26804,
    "h": 328.1
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

primary
#E338E3
secondary
#98DF98
accent
#F23636
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E338E3

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

Preview Lab → · Contrast checker → · Palette generator →

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