#E38DFE#E38DFE

#E38DFE is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.3% C 0.178 H 317.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#E38DFE
RGBrgb(227, 141, 254)
HSLhsl(286, 98%, 77%)
HSVhsv(286, 44%, 100%)
CMYKcmyk(10.6%, 44.5%, 0%, 0.4%)
CIE-LABlab(71.24, 50.70, -43.24)
CIE-LCHlch(71.24, 66.64, 319.54°)
OKLaboklab(77.29% 0.1316 -0.1195)
OKLCHoklch(77.29% 0.178 317.7)
XYZxyz(59.0903, 42.5383, 98.8447)
Luminance0.4254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38DFE #A8FE8D
analogous
#AB8DFE #E38DFE #FE8DE0
triadic
#E38DFE #FEE38D #8DFEE3
tetradic
#E38DFE #FEAB8D #A8FE8D #8DE0FE
square
#E38DFE #FEAB8D #A8FE8D #8DE0FE
split-complementary
#E38DFE #E0FE8D #8DFEAB
monochromatic
#C514FD #D450FD #E38DFE #F2CAFF #F8E1FF

Accessibility & contrast

On white

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

On black

9.51
#E38DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38DFE
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38DFE#FFFFFF#000000##000000
##E38DFE1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e38dfe;
/* rgb */ color: rgb(227, 141, 254);
/* oklch */ color: oklch(77.3% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#eeb0ff',
    500: '#e38dfe',
    950: '#000000',
  },
}
SCSS
$custom: #e38dfe;
$custom-light: #eeb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e38dfe",
  "rgb": {
    "r": 227,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 285.664,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77286,
    "c": 0.17777,
    "h": 317.7
  },
  "luminance": 0.42536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E38DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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