#E28FF7#E28FF7

#E28FF7 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.2% C 0.167 H 319.3°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#E28FF7
RGBrgb(226, 143, 247)
HSLhsl(288, 87%, 76%)
HSVhsv(288, 42%, 97%)
CMYKcmyk(8.5%, 42.1%, 0%, 3.1%)
CIE-LABlab(71.24, 48.02, -39.44)
CIE-LCHlch(71.24, 62.14, 320.60°)
OKLaboklab(77.16% 0.1265 -0.1087)
OKLCHoklch(77.16% 0.167 319.3)
XYZxyz(57.9728, 42.5310, 93.1331)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FF7 #A4F78F
analogous
#AE8FF7 #E28FF7 #F78FD8
triadic
#E28FF7 #F7E28F #8FF7E2
tetradic
#E28FF7 #F7AE8F #A4F78F #8FD8F7
square
#E28FF7 #F7AE8F #A4F78F #8FD8F7
split-complementary
#E28FF7 #D8F78F #8FF7AE
monochromatic
#C41DEF #D356F3 #E28FF7 #F1C8FB #F8E2FD

Accessibility & contrast

On white

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

On black

9.51
#E28FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FF7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FF7#FFFFFF#000000##000000
##E28FF71.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#96B1F4
Tritanopia (blue-blind)
#E39CB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ff7;
/* rgb */ color: rgb(226, 143, 247);
/* oklch */ color: oklch(77.2% 0.167 319.3);
Tailwind
colors: {
  custom: {
    50: '#edb1fa',
    500: '#e28ff7',
    950: '#000000',
  },
}
SCSS
$custom: #e28ff7;
$custom-light: #edb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ff7",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 287.885,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77159,
    "c": 0.16672,
    "h": 319.3
  },
  "luminance": 0.42529
}

Semantic roles & 50–950 ramp

primary
#E28FF7
secondary
#DCF5D6
accent
#E30230
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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