#E18DF2#E18DF2

#E18DF2 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.5% C 0.164 H 320.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#E18DF2
RGBrgb(225, 141, 242)
HSLhsl(290, 80%, 75%)
HSVhsv(290, 42%, 95%)
CMYKcmyk(7%, 41.7%, 0%, 5.1%)
CIE-LABlab(70.50, 47.80, -37.86)
CIE-LCHlch(70.50, 60.98, 321.62°)
OKLaboklab(76.52% 0.1272 -0.1041)
OKLCHoklch(76.52% 0.164 320.7)
XYZxyz(56.6013, 41.4701, 89.0102)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E18DF2 #9EF28D
analogous
#AE8DF2 #E18DF2 #F28DD1
triadic
#E18DF2 #F2E18D #8DF2E1
tetradic
#E18DF2 #F2AE8D #9EF28D #8DD1F2
square
#E18DF2 #F2AE8D #9EF28D #8DD1F2
split-complementary
#E18DF2 #D1F28D #8DF2AE
monochromatic
#C41FE5 #D356EC #E18DF2 #EFC4F8 #F8E4FC

Accessibility & contrast

On white

2.26
#E18DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#E18DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E18DF2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E18DF2#FFFFFF#000000##000000
##E18DF21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#E399B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e18df2;
/* rgb */ color: rgb(225, 141, 242);
/* oklch */ color: oklch(76.5% 0.164 320.7);
Tailwind
colors: {
  custom: {
    50: '#ecb0f6',
    500: '#e18df2',
    950: '#000000',
  },
}
SCSS
$custom: #e18df2;
$custom-light: #ecb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e18df2",
  "rgb": {
    "r": 225,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 289.901,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76518,
    "c": 0.16439,
    "h": 320.7
  },
  "luminance": 0.41468
}

Semantic roles & 50–950 ramp

primary
#E18DF2
secondary
#DCF4D7
accent
#DC0A2D
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E18DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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