#E28FFE#E28FFE

#E28FFE is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.5% C 0.174 H 317.2°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#E28FFE
RGBrgb(226, 143, 254)
HSLhsl(285, 98%, 78%)
HSVhsv(285, 44%, 100%)
CMYKcmyk(11%, 43.7%, 0%, 0.4%)
CIE-LABlab(71.54, 49.39, -42.79)
CIE-LCHlch(71.54, 65.35, 319.10°)
OKLaboklab(77.48% 0.1277 -0.1183)
OKLCHoklch(77.48% 0.174 317.2)
XYZxyz(59.0733, 42.9712, 98.9292)
Luminance0.4297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FFE #ABFE8F
analogous
#AA8FFE #E28FFE #FE8FE2
triadic
#E28FFE #FEE28F #8FFEE2
tetradic
#E28FFE #FEAA8F #ABFE8F #8FE2FE
square
#E28FFE #FEAA8F #ABFE8F #8FE2FE
split-complementary
#E28FFE #E2FE8F #8FFEAA
monochromatic
#C316FD #D252FD #E28FFE #F2CCFF #F7E1FF

Accessibility & contrast

On white

2.19
#E28FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#E28FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FFE
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FFE#FFFFFF#000000##000000
##E28FFE1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#93B2FB
Tritanopia (blue-blind)
#E19EBB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28ffe;
/* rgb */ color: rgb(226, 143, 254);
/* oklch */ color: oklch(77.5% 0.174 317.2);
Tailwind
colors: {
  custom: {
    50: '#edb1ff',
    500: '#e28ffe',
    950: '#000000',
  },
}
SCSS
$custom: #e28ffe;
$custom-light: #edb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ffe",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 284.865,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77482,
    "c": 0.17403,
    "h": 317.2
  },
  "luminance": 0.42969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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