#E28FFD#E28FFD

#E28FFD is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.4% C 0.173 H 317.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#E28FFD
RGBrgb(226, 143, 253)
HSLhsl(285, 96%, 78%)
HSVhsv(285, 43%, 99%)
CMYKcmyk(10.7%, 43.5%, 0%, 0.8%)
CIE-LABlab(71.49, 49.19, -42.31)
CIE-LCHlch(71.49, 64.89, 319.30°)
OKLaboklab(77.44% 0.1275 -0.1169)
OKLCHoklch(77.44% 0.173 317.5)
XYZxyz(58.9136, 42.9073, 98.0880)
Luminance0.4291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FFD #AAFD8F
analogous
#AB8FFD #E28FFD #FD8FE1
triadic
#E28FFD #FDE28F #8FFDE2
tetradic
#E28FFD #FDAB8F #AAFD8F #8FE1FD
square
#E28FFD #FDAB8F #AAFD8F #8FE1FD
split-complementary
#E28FFD #E1FD8F #8FFDAB
monochromatic
#C317FB #D253FC #E28FFD #F2CBFE #F7E1FE

Accessibility & contrast

On white

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

On black

9.58
#E28FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FFD
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FFD#FFFFFF#000000##000000
##E28FFD1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#E29EBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28ffd;
/* rgb */ color: rgb(226, 143, 253);
/* oklch */ color: oklch(77.4% 0.173 317.5);
Tailwind
colors: {
  custom: {
    50: '#edb1fe',
    500: '#e28ffd',
    950: '#000000',
  },
}
SCSS
$custom: #e28ffd;
$custom-light: #edb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ffd",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 285.273,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77436,
    "c": 0.17298,
    "h": 317.5
  },
  "luminance": 0.42906
}

Semantic roles & 50–950 ramp

primary
#E28FFD
secondary
#DDF7D4
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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