#E28FFA#E28FFA

#E28FFA is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.3% C 0.170 H 318.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#E28FFA
RGBrgb(226, 143, 250)
HSLhsl(287, 91%, 77%)
HSVhsv(287, 43%, 98%)
CMYKcmyk(9.6%, 42.8%, 0%, 2%)
CIE-LABlab(71.36, 48.60, -40.88)
CIE-LCHlch(71.36, 63.51, 319.93°)
OKLaboklab(77.3% 0.127 -0.1128)
OKLCHoklch(77.3% 0.17 318.4)
XYZxyz(58.4395, 42.7176, 95.5909)
Luminance0.4272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FFA #A7FA8F
analogous
#AD8FFA #E28FFA #FA8FDD
triadic
#E28FFA #FAE28F #8FFAE2
tetradic
#E28FFA #FAAD8F #A7FA8F #8FDDFA
square
#E28FFA #FAAD8F #A7FA8F #8FDDFA
split-complementary
#E28FFA #DDFA8F #8FFAAD
monochromatic
#C41AF5 #D354F7 #E28FFA #F1CAFD #F7E2FE

Accessibility & contrast

On white

2.20
#E28FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#E28FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FFA
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FFA#FFFFFF#000000##000000
##E28FFA1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#94B2F7
Tritanopia (blue-blind)
#E29DB9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28ffa;
/* rgb */ color: rgb(226, 143, 250);
/* oklch */ color: oklch(77.3% 0.170 318.4);
Tailwind
colors: {
  custom: {
    50: '#edb1fc',
    500: '#e28ffa',
    950: '#000000',
  },
}
SCSS
$custom: #e28ffa;
$custom-light: #edb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ffa",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 286.542,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77297,
    "c": 0.16984,
    "h": 318.4
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

primary
#E28FFA
secondary
#DCF6D5
accent
#E60033
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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