#E38EFD#E38EFD

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

Color values

HEX#E38EFD
RGBrgb(227, 142, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 44%, 99%)
CMYKcmyk(10.3%, 43.9%, 0%, 0.8%)
CIE-LABlab(71.40, 49.99, -42.45)
CIE-LCHlch(71.40, 65.58, 319.67°)
OKLaboklab(77.39% 0.13 -0.1173)
OKLCHoklch(77.39% 0.175 318)
XYZxyz(59.0787, 42.7706, 98.0529)
Luminance0.4277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38EFD #A8FD8E
analogous
#AC8EFD #E38EFD #FD8EDF
triadic
#E38EFD #FDE38E #8EFDE3
tetradic
#E38EFD #FDAC8E #A8FD8E #8EDFFD
square
#E38EFD #FDAC8E #A8FD8E #8EDFFD
split-complementary
#E38EFD #DFFD8E #8EFDAC
monochromatic
#C516FB #D452FC #E38EFD #F2CAFE #F8E1FE

Accessibility & contrast

On white

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

On black

9.55
#E38EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38EFD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38EFD#FFFFFF#000000##000000
##E38EFD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#E39DBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e38efd;
/* rgb */ color: rgb(227, 142, 253);
/* oklch */ color: oklch(77.4% 0.175 318.0);
Tailwind
colors: {
  custom: {
    50: '#edb1fe',
    500: '#e38efd',
    950: '#000000',
  },
}
SCSS
$custom: #e38efd;
$custom-light: #edb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e38efd",
  "rgb": {
    "r": 227,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 285.946,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7739,
    "c": 0.17509,
    "h": 318
  },
  "luminance": 0.42769
}

Semantic roles & 50–950 ramp

primary
#E38EFD
secondary
#DCF7D4
accent
#E60036
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E38EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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