#E38BFE#E38BFE

#E38BFE is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.0% C 0.181 H 317.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#E38BFE
RGBrgb(227, 139, 254)
HSLhsl(286, 98%, 77%)
HSVhsv(286, 45%, 100%)
CMYKcmyk(10.6%, 45.3%, 0%, 0.4%)
CIE-LABlab(70.84, 51.73, -43.87)
CIE-LCHlch(70.84, 67.83, 319.70°)
OKLaboklab(76.99% 0.1343 -0.1213)
OKLCHoklch(76.99% 0.181 317.9)
XYZxyz(58.7981, 41.9538, 98.7473)
Luminance0.4195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38BFE #A6FE8B
analogous
#AA8BFE #E38BFE #FE8BE0
triadic
#E38BFE #FEE38B #8BFEE3
tetradic
#E38BFE #FEAA8B #A6FE8B #8BE0FE
square
#E38BFE #FEAA8B #A6FE8B #8BE0FE
split-complementary
#E38BFE #E0FE8B #8BFEAA
monochromatic
#C612FD #D44EFD #E38BFE #F2C8FF #F8E1FF

Accessibility & contrast

On white

2.24
#E38BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#E38BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38BFE
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38BFE#FFFFFF#000000##000000
##E38BFE1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#E39BB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e38bfe;
/* rgb */ color: rgb(227, 139, 254);
/* oklch */ color: oklch(77.0% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#eeafff',
    500: '#e38bfe',
    950: '#000000',
  },
}
SCSS
$custom: #e38bfe;
$custom-light: #eeafff;
$custom-dark: #000000;
JSON
{
  "hex": "#e38bfe",
  "rgb": {
    "r": 227,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 285.913,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.18101,
    "h": 317.9
  },
  "luminance": 0.41952
}

Semantic roles & 50–950 ramp

primary
#E38BFE
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171118
muted
#858086

Preview Lab

Preview with #E38BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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