#E38EF2#E38EF2

#E38EF2 is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.9% C 0.164 H 321.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#E38EF2
RGBrgb(227, 142, 242)
HSLhsl(291, 79%, 75%)
HSVhsv(291, 41%, 95%)
CMYKcmyk(6.2%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.93, 47.86, -37.18)
CIE-LCHlch(70.93, 60.61, 322.16°)
OKLaboklab(76.89% 0.1281 -0.1021)
OKLCHoklch(76.89% 0.164 321.4)
XYZxyz(57.3767, 42.0898, 89.0890)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38EF2 #9DF28E
analogous
#B18EF2 #E38EF2 #F28ECF
triadic
#E38EF2 #F2E38E #8EF2E3
tetradic
#E38EF2 #F2B18E #9DF28E #8ECFF2
square
#E38EF2 #F2B18E #9DF28E #8ECFF2
split-complementary
#E38EF2 #CFF28E #8EF2B1
monochromatic
#C820E5 #D557EC #E38EF2 #F1C5F8 #F8E4FC

Accessibility & contrast

On white

2.23
#E38EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#E38EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38EF2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38EF2#FFFFFF#000000##000000
##E38EF21.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#E59AB5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e38ef2;
/* rgb */ color: rgb(227, 142, 242);
/* oklch */ color: oklch(76.9% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#edb1f6',
    500: '#e38ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e38ef2;
$custom-light: #edb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e38ef2",
  "rgb": {
    "r": 227,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 291,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76889,
    "c": 0.1638,
    "h": 321.4
  },
  "luminance": 0.42088
}

Semantic roles & 50–950 ramp

primary
#E38EF2
secondary
#DCF4D7
accent
#DC0A29
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E38EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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