#E38DF8#E38DF8

#E38DF8 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.0% C 0.172 H 319.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#E38DF8
RGBrgb(227, 141, 248)
HSLhsl(288, 88%, 76%)
HSVhsv(288, 43%, 97%)
CMYKcmyk(8.5%, 43.1%, 0%, 2.7%)
CIE-LABlab(70.98, 49.53, -40.38)
CIE-LCHlch(70.98, 63.90, 320.81°)
OKLaboklab(77.01% 0.1306 -0.1113)
OKLCHoklch(77.01% 0.172 319.6)
XYZxyz(58.1445, 42.1599, 93.8636)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38DF8 #A2F88D
analogous
#AE8DF8 #E38DF8 #F88DD8
triadic
#E38DF8 #F8E38D #8DF8E3
tetradic
#E38DF8 #F8AE8D #A2F88D #8DD8F8
square
#E38DF8 #F8AE8D #A2F88D #8DD8F8
split-complementary
#E38DF8 #D8F88D #8DF8AE
monochromatic
#C71AF1 #D553F4 #E38DF8 #F1C7FC #F8E2FD

Accessibility & contrast

On white

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

On black

9.43
#E38DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38DF8
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38DF8#FFFFFF#000000##000000
##E38DF81.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA8FC
Deuteranopia (green-blind)
#94B1F5
Tritanopia (blue-blind)
#E49BB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e38df8;
/* rgb */ color: rgb(227, 141, 248);
/* oklch */ color: oklch(77.0% 0.172 319.6);
Tailwind
colors: {
  custom: {
    50: '#edb0fb',
    500: '#e38df8',
    950: '#000000',
  },
}
SCSS
$custom: #e38df8;
$custom-light: #edb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e38df8",
  "rgb": {
    "r": 227,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 288.224,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.17158,
    "h": 319.6
  },
  "luminance": 0.42158
}

Semantic roles & 50–950 ramp

primary
#E38DF8
secondary
#DCF5D6
accent
#E5002D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #E38DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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