#E38DEC#E38DEC

#E38DEC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.159 H 323.6°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E38DEC
RGBrgb(227, 141, 236)
HSLhsl(294, 71%, 74%)
HSVhsv(294, 40%, 93%)
CMYKcmyk(3.8%, 40.3%, 0%, 7.5%)
CIE-LABlab(70.48, 47.25, -34.59)
CIE-LCHlch(70.48, 58.56, 323.79°)
OKLaboklab(76.47% 0.1283 -0.0947)
OKLCHoklch(76.47% 0.159 323.6)
XYZxyz(56.3422, 41.4390, 84.3713)
Luminance0.4144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38DEC #96EC8D
analogous
#B48DEC #E38DEC #EC8DC6
triadic
#E38DEC #ECE38D #8DECE3
tetradic
#E38DEC #ECB48D #96EC8D #8DC6EC
square
#E38DEC #ECB48D #96EC8D #8DC6EC
split-complementary
#E38DEC #C6EC8D #8DECB4
monochromatic
#C924DA #D659E3 #E38DEC #F0C1F5 #F9E5FB

Accessibility & contrast

On white

2.26
#E38DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#E38DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38DEC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38DEC#FFFFFF#000000##000000
##E38DEC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#99B0E9
Tritanopia (blue-blind)
#E697B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e38dec;
/* rgb */ color: rgb(227, 141, 236);
/* oklch */ color: oklch(76.5% 0.159 323.6);
Tailwind
colors: {
  custom: {
    50: '#edb0f2',
    500: '#e38dec',
    950: '#000000',
  },
}
SCSS
$custom: #e38dec;
$custom-light: #edb0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e38dec",
  "rgb": {
    "r": 227,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 294.316,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76471,
    "c": 0.15949,
    "h": 323.6
  },
  "luminance": 0.41437
}

Semantic roles & 50–950 ramp

primary
#E38DEC
secondary
#DBF2D9
accent
#D31224
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E38DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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