#E38EFE#E38EFE

#E38EFE is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.4% C 0.176 H 317.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#E38EFE
RGBrgb(227, 142, 254)
HSLhsl(286, 98%, 78%)
HSVhsv(286, 44%, 100%)
CMYKcmyk(10.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(71.44, 50.19, -42.92)
CIE-LCHlch(71.44, 66.04, 319.46°)
OKLaboklab(77.44% 0.1302 -0.1186)
OKLCHoklch(77.44% 0.176 317.7)
XYZxyz(59.2384, 42.8345, 98.8941)
Luminance0.4283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38EFE #A9FE8E
analogous
#AB8EFE #E38EFE #FE8EE1
triadic
#E38EFE #FEE38E #8EFEE3
tetradic
#E38EFE #FEAB8E #A9FE8E #8EE1FE
square
#E38EFE #FEAB8E #A9FE8E #8EE1FE
split-complementary
#E38EFE #E1FE8E #8EFEAB
monochromatic
#C515FD #D451FD #E38EFE #F2CBFF #F7E1FF

Accessibility & contrast

On white

2.20
#E38EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#E38EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38EFE
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38EFE#FFFFFF#000000##000000
##E38EFE1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#E39DBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e38efe;
/* rgb */ color: rgb(227, 142, 254);
/* oklch */ color: oklch(77.4% 0.176 317.7);
Tailwind
colors: {
  custom: {
    50: '#edb1ff',
    500: '#e38efe',
    950: '#000000',
  },
}
SCSS
$custom: #e38efe;
$custom-light: #edb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e38efe",
  "rgb": {
    "r": 227,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 285.536,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77437,
    "c": 0.17614,
    "h": 317.7
  },
  "luminance": 0.42833
}

Semantic roles & 50–950 ramp

primary
#E38EFE
secondary
#DCF7D4
accent
#E60037
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E38EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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