#E38FF2#E38FF2

#E38FF2 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.0% C 0.162 H 321.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#E38FF2
RGBrgb(227, 143, 242)
HSLhsl(291, 79%, 75%)
HSVhsv(291, 41%, 95%)
CMYKcmyk(6.2%, 40.9%, 0%, 5.1%)
CIE-LABlab(71.14, 47.35, -36.86)
CIE-LCHlch(71.14, 60.00, 322.10°)
OKLaboklab(77.04% 0.1266 -0.1012)
OKLCHoklch(77.04% 0.162 321.4)
XYZxyz(57.5262, 42.3887, 89.1388)
Luminance0.4239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E38FF2 #9EF28F
analogous
#B18FF2 #E38FF2 #F28FCF
triadic
#E38FF2 #F2E38F #8FF2E3
tetradic
#E38FF2 #F2B18F #9EF28F #8FCFF2
square
#E38FF2 #F2B18F #9EF28F #8FCFF2
split-complementary
#E38FF2 #CFF28F #8FF2B1
monochromatic
#C821E5 #D558EC #E38FF2 #F1C6F8 #F8E4FC

Accessibility & contrast

On white

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

On black

9.48
#E38FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E38FF2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E38FF2#FFFFFF#000000##000000
##E38FF21.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#E59BB5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e38ff2;
/* rgb */ color: rgb(227, 143, 242);
/* oklch */ color: oklch(77.0% 0.162 321.4);
Tailwind
colors: {
  custom: {
    50: '#edb1f6',
    500: '#e38ff2',
    950: '#000000',
  },
}
SCSS
$custom: #e38ff2;
$custom-light: #edb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e38ff2",
  "rgb": {
    "r": 227,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 290.909,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77043,
    "c": 0.16213,
    "h": 321.4
  },
  "luminance": 0.42387
}

Semantic roles & 50–950 ramp

primary
#E38FF2
secondary
#DCF4D7
accent
#DB0A2A
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E38FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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