#E28EFF#E28EFF

#E28EFF is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.4% C 0.177 H 317.0°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#E28EFF
RGBrgb(226, 142, 255)
HSLhsl(285, 100%, 78%)
HSVhsv(285, 44%, 100%)
CMYKcmyk(11.4%, 44.3%, 0%, 0%)
CIE-LABlab(71.38, 50.11, -43.58)
CIE-LCHlch(71.38, 66.41, 318.98°)
OKLaboklab(77.38% 0.1292 -0.1205)
OKLCHoklch(77.38% 0.177 317)
XYZxyz(59.0844, 42.7365, 99.7249)
Luminance0.4274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EFF #ABFF8E
analogous
#A98EFF #E28EFF #FF8EE3
triadic
#E28EFF #FFE28E #8EFFE2
tetradic
#E28EFF #FFA98E #ABFF8E #8EE3FF
square
#E28EFF #FFA98E #ABFF8E #8EE3FF
split-complementary
#E28EFF #E3FF8E #8EFFA9
monochromatic
#C314FF #D251FF #E28EFF #F2CBFF #F7E0FF

Accessibility & contrast

On white

2.20
#E28EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#E28EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28EFF
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28EFF#FFFFFF#000000##000000
##E28EFF1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#91B1FC
Tritanopia (blue-blind)
#E19EBB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28eff;
/* rgb */ color: rgb(226, 142, 255);
/* oklch */ color: oklch(77.4% 0.177 317.0);
Tailwind
colors: {
  custom: {
    50: '#edb1ff',
    500: '#e28eff',
    950: '#000000',
  },
}
SCSS
$custom: #e28eff;
$custom-light: #edb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e28eff",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 284.602,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.17671,
    "h": 317
  },
  "luminance": 0.42735
}

Semantic roles & 50–950 ramp

primary
#E28EFF
secondary
#DDF7D4
accent
#E6003B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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