#E38CFE#E38CFE

#E38CFE is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.1% C 0.179 H 317.8°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#E38CFE
RGBrgb(227, 140, 254)
HSLhsl(286, 98%, 77%)
HSVhsv(286, 45%, 100%)
CMYKcmyk(10.6%, 44.9%, 0%, 0.4%)
CIE-LABlab(71.04, 51.22, -43.55)
CIE-LCHlch(71.04, 67.23, 319.62°)
OKLaboklab(77.14% 0.133 -0.1204)
OKLCHoklch(77.14% 0.179 317.8)
XYZxyz(58.9435, 42.2447, 98.7958)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38CFE #A7FE8C
analogous
#AA8CFE #E38CFE #FE8CE0
triadic
#E38CFE #FEE38C #8CFEE3
tetradic
#E38CFE #FEAA8C #A7FE8C #8CE0FE
square
#E38CFE #FEAA8C #A7FE8C #8CE0FE
split-complementary
#E38CFE #E0FE8C #8CFEAA
monochromatic
#C513FD #D44FFD #E38CFE #F2C9FF #F8E1FF

Accessibility & contrast

On white

2.22
#E38CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#E38CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38CFE
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38CFE#FFFFFF#000000##000000
##E38CFE1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#E39CB9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e38cfe;
/* rgb */ color: rgb(227, 140, 254);
/* oklch */ color: oklch(77.1% 0.179 317.8);
Tailwind
colors: {
  custom: {
    50: '#eeb0ff',
    500: '#e38cfe',
    950: '#000000',
  },
}
SCSS
$custom: #e38cfe;
$custom-light: #eeb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e38cfe",
  "rgb": {
    "r": 227,
    "g": 140,
    "b": 254
  },
  "hsl": {
    "h": 285.789,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77136,
    "c": 0.17939,
    "h": 317.8
  },
  "luminance": 0.42243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E38CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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