#E38CFD#E38CFD

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

Color values

HEX#E38CFD
RGBrgb(227, 140, 253)
HSLhsl(286, 97%, 77%)
HSVhsv(286, 45%, 99%)
CMYKcmyk(10.3%, 44.7%, 0%, 0.8%)
CIE-LABlab(71.00, 51.02, -43.08)
CIE-LCHlch(71.00, 66.77, 319.82°)
OKLaboklab(77.09% 0.1328 -0.1191)
OKLCHoklch(77.09% 0.178 318.1)
XYZxyz(58.7838, 42.1808, 97.9546)
Luminance0.4218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38CFD #A6FD8C
analogous
#AB8CFD #E38CFD #FD8CDE
triadic
#E38CFD #FDE38C #8CFDE3
tetradic
#E38CFD #FDAB8C #A6FD8C #8CDEFD
square
#E38CFD #FDAB8C #A6FD8C #8CDEFD
split-complementary
#E38CFD #DEFD8C #8CFDAB
monochromatic
#C614FB #D450FC #E38CFD #F2C8FE #F8E1FE

Accessibility & contrast

On white

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

On black

9.44
#E38CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38CFD
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38CFD#FFFFFF#000000##000000
##E38CFD1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e38cfd;
/* rgb */ color: rgb(227, 140, 253);
/* oklch */ color: oklch(77.1% 0.178 318.1);
Tailwind
colors: {
  custom: {
    50: '#eeb0fe',
    500: '#e38cfd',
    950: '#000000',
  },
}
SCSS
$custom: #e38cfd;
$custom-light: #eeb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e38cfd",
  "rgb": {
    "r": 227,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 286.195,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77089,
    "c": 0.17836,
    "h": 318.1
  },
  "luminance": 0.42179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E38CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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