#E338DE#E338DE

#E338DE is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 66.0% C 0.264 H 329.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#E338DE
RGBrgb(227, 56, 222)
HSLhsl(302, 75%, 55%)
HSVhsv(302, 75%, 89%)
CMYKcmyk(0%, 75.3%, 2.2%, 11%)
CIE-LABlab(56.52, 80.75, -48.70)
CIE-LCHlch(56.52, 94.30, 328.91°)
OKLaboklab(66.03% 0.2276 -0.1347)
OKLCHoklch(66.03% 0.264 329.4)
XYZxyz(46.2772, 24.4368, 71.3725)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E338DE #38E33D
analogous
#9238E3 #E338DE #E33889
triadic
#E338DE #DEE338 #38DEE3
tetradic
#E338DE #E39238 #38E33D #3889E3
square
#E338DE #E39238 #38E33D #3889E3
split-complementary
#E338DE #89E338 #38E392
monochromatic
#8D1489 #C21BBE #E338DE #EB6EE7 #F2A3F0

Accessibility & contrast

On white

3.57
#E338DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#E338DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E338DE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E338DE#FFFFFF#000000##000000
##E338DE1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1879E2
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#EB528A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #e338de;
/* rgb */ color: rgb(227, 56, 222);
/* oklch */ color: oklch(66.0% 0.264 329.4);
Tailwind
colors: {
  custom: {
    50: '#f081e9',
    500: '#e338de',
    950: '#000000',
  },
}
SCSS
$custom: #e338de;
$custom-light: #f081e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e338de",
  "rgb": {
    "r": 227,
    "g": 56,
    "b": 222
  },
  "hsl": {
    "h": 301.754,
    "s": 75.33,
    "l": 55.49
  },
  "oklch": {
    "l": 0.66027,
    "c": 0.26449,
    "h": 329.4
  },
  "luminance": 0.24433
}

Semantic roles & 50–950 ramp

primary
#E338DE
secondary
#98DF9A
accent
#F23B36
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #E338DE

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

Preview Lab → · Contrast checker → · Palette generator →

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