#E38DFD#E38DFD

#E38DFD is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.2% C 0.177 H 318.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#E38DFD
RGBrgb(227, 141, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 44%, 99%)
CMYKcmyk(10.3%, 44.3%, 0%, 0.8%)
CIE-LABlab(71.20, 50.51, -42.76)
CIE-LCHlch(71.20, 66.18, 319.74°)
OKLaboklab(77.24% 0.1314 -0.1182)
OKLCHoklch(77.24% 0.177 318)
XYZxyz(58.9306, 42.4744, 98.0036)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38DFD #A7FD8D
analogous
#AB8DFD #E38DFD #FD8DDF
triadic
#E38DFD #FDE38D #8DFDE3
tetradic
#E38DFD #FDAB8D #A7FD8D #8DDFFD
square
#E38DFD #FDAB8D #A7FD8D #8DDFFD
split-complementary
#E38DFD #DFFD8D #8DFDAB
monochromatic
#C515FB #D451FC #E38DFD #F2C9FE #F8E1FE

Accessibility & contrast

On white

2.21
#E38DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#E38DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38DFD
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38DFD#FFFFFF#000000##000000
##E38DFD1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#E39CB9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e38dfd;
/* rgb */ color: rgb(227, 141, 253);
/* oklch */ color: oklch(77.2% 0.177 318.0);
Tailwind
colors: {
  custom: {
    50: '#edb0fe',
    500: '#e38dfd',
    950: '#000000',
  },
}
SCSS
$custom: #e38dfd;
$custom-light: #edb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e38dfd",
  "rgb": {
    "r": 227,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 286.071,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.17673,
    "h": 318
  },
  "luminance": 0.42472
}

Semantic roles & 50–950 ramp

primary
#E38DFD
secondary
#DCF7D4
accent
#E60035
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #E38DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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