#E28FE5#E28FE5

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

Color values

HEX#E28FE5
RGBrgb(226, 143, 229)
HSLhsl(298, 62%, 73%)
HSVhsv(298, 38%, 90%)
CMYKcmyk(1.3%, 37.6%, 0%, 10.2%)
CIE-LABlab(70.51, 44.61, -30.72)
CIE-LCHlch(70.51, 54.17, 325.45°)
OKLaboklab(76.37% 0.1228 -0.0838)
OKLCHoklch(76.37% 0.149 325.7)
XYZxyz(55.3281, 41.4731, 79.2042)
Luminance0.4147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FE5 #92E58F
analogous
#B78FE5 #E28FE5 #E58FBD
triadic
#E28FE5 #E5E28F #8FE5E2
tetradic
#E28FE5 #E5B78F #92E58F #8FBDE5
square
#E28FE5 #E5B78F #92E58F #8FBDE5
split-complementary
#E28FE5 #BDE58F #8FE5B7
monochromatic
#C52FCB #D55DD9 #E28FE5 #EFC1F1 #F9E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28FE5#FFFFFF#000000##000000
##E28FE51.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)
#88A6E8
Deuteranopia (green-blind)
#9DB0E2
Tritanopia (blue-blind)
#E697B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28fe5;
/* rgb */ color: rgb(226, 143, 229);
/* oklch */ color: oklch(76.4% 0.149 325.7);
Tailwind
colors: {
  custom: {
    50: '#ecb1ed',
    500: '#e28fe5',
    950: '#000000',
  },
}
SCSS
$custom: #e28fe5;
$custom-light: #ecb1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fe5",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 297.907,
    "s": 62.319,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76372,
    "c": 0.14862,
    "h": 325.7
  },
  "luminance": 0.41471
}

Semantic roles & 50–950 ramp

primary
#E28FE5
secondary
#DBF1DA
accent
#CA1B22
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E28FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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