#E28DFF#E28DFF

#E28DFF is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.2% C 0.178 H 317.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#E28DFF
RGBrgb(226, 141, 255)
HSLhsl(285, 100%, 78%)
HSVhsv(285, 45%, 100%)
CMYKcmyk(11.4%, 44.7%, 0%, 0%)
CIE-LABlab(71.17, 50.62, -43.90)
CIE-LCHlch(71.17, 67.00, 319.07°)
OKLaboklab(77.23% 0.1306 -0.1214)
OKLCHoklch(77.23% 0.178 317.1)
XYZxyz(58.9363, 42.4403, 99.6755)
Luminance0.4244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DFF #AAFF8D
analogous
#A98DFF #E28DFF #FF8DE3
triadic
#E28DFF #FFE28D #8DFFE2
tetradic
#E28DFF #FFA98D #AAFF8D #8DE3FF
square
#E28DFF #FFA98D #AAFF8D #8DE3FF
split-complementary
#E28DFF #E3FF8D #8DFFA9
monochromatic
#C313FF #D250FF #E28DFF #F2CAFF #F7E0FF

Accessibility & contrast

On white

2.21
#E28DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#E28DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DFF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DFF#FFFFFF#000000##000000
##E28DFF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#90B1FC
Tritanopia (blue-blind)
#E19DBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28dff;
/* rgb */ color: rgb(226, 141, 255);
/* oklch */ color: oklch(77.2% 0.178 317.1);
Tailwind
colors: {
  custom: {
    50: '#edb0ff',
    500: '#e28dff',
    950: '#000000',
  },
}
SCSS
$custom: #e28dff;
$custom-light: #edb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e28dff",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 284.737,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77226,
    "c": 0.17834,
    "h": 317.1
  },
  "luminance": 0.42439
}

Semantic roles & 50–950 ramp

primary
#E28DFF
secondary
#DDF7D4
accent
#E6003A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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