#E18EF2#E18EF2

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

Color values

HEX#E18EF2
RGBrgb(225, 142, 242)
HSLhsl(290, 79%, 75%)
HSVhsv(290, 41%, 95%)
CMYKcmyk(7%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.71, 47.28, -37.54)
CIE-LCHlch(70.71, 60.37, 321.55°)
OKLaboklab(76.67% 0.1258 -0.1032)
OKLCHoklch(76.67% 0.163 320.6)
XYZxyz(56.7494, 41.7663, 89.0595)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E18EF2 #9FF28E
analogous
#AF8EF2 #E18EF2 #F28ED1
triadic
#E18EF2 #F2E18E #8EF2E1
tetradic
#E18EF2 #F2AF8E #9FF28E #8ED1F2
square
#E18EF2 #F2AF8E #9FF28E #8ED1F2
split-complementary
#E18EF2 #D1F28E #8EF2AF
monochromatic
#C420E5 #D257EC #E18EF2 #F0C5F8 #F8E4FC

Accessibility & contrast

On white

2.25
#E18EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#E18EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E18EF2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E18EF2#FFFFFF#000000##000000
##E18EF21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e18ef2;
/* rgb */ color: rgb(225, 142, 242);
/* oklch */ color: oklch(76.7% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#ecb1f6',
    500: '#e18ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e18ef2;
$custom-light: #ecb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e18ef2",
  "rgb": {
    "r": 225,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 289.8,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76672,
    "c": 0.16271,
    "h": 320.6
  },
  "luminance": 0.41764
}

Semantic roles & 50–950 ramp

primary
#E18EF2
secondary
#DCF4D7
accent
#DC0A2E
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E18EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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