#E18DEC#E18DEC

#E18DEC is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.3% C 0.158 H 322.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#E18DEC
RGBrgb(225, 141, 236)
HSLhsl(293, 71%, 74%)
HSVhsv(293, 40%, 93%)
CMYKcmyk(4.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(70.26, 46.66, -34.96)
CIE-LCHlch(70.26, 58.30, 323.16°)
OKLaboklab(76.25% 0.126 -0.0958)
OKLCHoklch(76.25% 0.158 322.7)
XYZxyz(55.7149, 41.1156, 84.3419)
Luminance0.4111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E18DEC #98EC8D
analogous
#B28DEC #E18DEC #EC8DC8
triadic
#E18DEC #ECE18D #8DECE1
tetradic
#E18DEC #ECB28D #98EC8D #8DC8EC
square
#E18DEC #ECB28D #98EC8D #8DC8EC
split-complementary
#E18DEC #C8EC8D #8DECB2
monochromatic
#C524DA #D359E3 #E18DEC #EFC1F5 #F8E5FB

Accessibility & contrast

On white

2.28
#E18DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#E18DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E18DEC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E18DEC#FFFFFF#000000##000000
##E18DEC1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#E498B2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e18dec;
/* rgb */ color: rgb(225, 141, 236);
/* oklch */ color: oklch(76.3% 0.158 322.7);
Tailwind
colors: {
  custom: {
    50: '#ecb0f2',
    500: '#e18dec',
    950: '#000000',
  },
}
SCSS
$custom: #e18dec;
$custom-light: #ecb0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e18dec",
  "rgb": {
    "r": 225,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 293.053,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76252,
    "c": 0.15832,
    "h": 322.7
  },
  "luminance": 0.41113
}

Semantic roles & 50–950 ramp

primary
#E18DEC
secondary
#DCF2D9
accent
#D31228
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E18DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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