#E38DF2#E38DF2

#E38DF2 is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.7% C 0.165 H 321.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#E38DF2
RGBrgb(227, 141, 242)
HSLhsl(291, 80%, 75%)
HSVhsv(291, 42%, 95%)
CMYKcmyk(6.2%, 41.7%, 0%, 5.1%)
CIE-LABlab(70.73, 48.38, -37.50)
CIE-LCHlch(70.73, 61.21, 322.22°)
OKLaboklab(76.74% 0.1295 -0.103)
OKLCHoklch(76.74% 0.165 321.5)
XYZxyz(57.2286, 41.7936, 89.0396)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38DF2 #9CF28D
analogous
#B08DF2 #E38DF2 #F28DCF
triadic
#E38DF2 #F2E38D #8DF2E3
tetradic
#E38DF2 #F2B08D #9CF28D #8DCFF2
square
#E38DF2 #F2B08D #9CF28D #8DCFF2
split-complementary
#E38DF2 #CFF28D #8DF2B0
monochromatic
#C81FE5 #D656EC #E38DF2 #F0C4F8 #F8E4FC

Accessibility & contrast

On white

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

On black

9.36
#E38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38DF2
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38DF2#FFFFFF#000000##000000
##E38DF21.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#97B0EF
Tritanopia (blue-blind)
#E599B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e38df2;
/* rgb */ color: rgb(227, 141, 242);
/* oklch */ color: oklch(76.7% 0.165 321.5);
Tailwind
colors: {
  custom: {
    50: '#edb0f6',
    500: '#e38df2',
    950: '#000000',
  },
}
SCSS
$custom: #e38df2;
$custom-light: #edb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e38df2",
  "rgb": {
    "r": 227,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 291.089,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76736,
    "c": 0.16547,
    "h": 321.5
  },
  "luminance": 0.41791
}

Semantic roles & 50–950 ramp

primary
#E38DF2
secondary
#DCF4D7
accent
#DC0A29
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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