#E18CF2#E18CF2

#E18CF2 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.166 H 320.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#E18CF2
RGBrgb(225, 140, 242)
HSLhsl(290, 80%, 75%)
HSVhsv(290, 42%, 95%)
CMYKcmyk(7%, 42.1%, 0%, 5.1%)
CIE-LABlab(70.30, 48.32, -38.18)
CIE-LCHlch(70.30, 61.58, 321.68°)
OKLaboklab(76.37% 0.1286 -0.105)
OKLCHoklch(76.37% 0.166 320.8)
XYZxyz(56.4545, 41.1765, 88.9612)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E18CF2 #9DF28C
analogous
#AE8CF2 #E18CF2 #F28CD0
triadic
#E18CF2 #F2E18C #8CF2E1
tetradic
#E18CF2 #F2AE8C #9DF28C #8CD0F2
square
#E18CF2 #F2AE8C #9DF28C #8CD0F2
split-complementary
#E18CF2 #D0F28C #8CF2AE
monochromatic
#C41EE6 #D355EC #E18CF2 #EFC3F8 #F8E4FC

Accessibility & contrast

On white

2.27
#E18CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#E18CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E18CF2
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E18CF2#FFFFFF#000000##000000
##E18CF21.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#E398B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e18cf2;
/* rgb */ color: rgb(225, 140, 242);
/* oklch */ color: oklch(76.4% 0.166 320.8);
Tailwind
colors: {
  custom: {
    50: '#ecaff6',
    500: '#e18cf2',
    950: '#000000',
  },
}
SCSS
$custom: #e18cf2;
$custom-light: #ecaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#e18cf2",
  "rgb": {
    "r": 225,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 290,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76365,
    "c": 0.16605,
    "h": 320.8
  },
  "luminance": 0.41175
}

Semantic roles & 50–950 ramp

primary
#E18CF2
secondary
#DCF4D7
accent
#DC0A2D
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #E18CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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