#E28FEA#E28FEA

#E28FEA is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.6% C 0.154 H 323.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#E28FEA
RGBrgb(226, 143, 234)
HSLhsl(295, 68%, 74%)
HSVhsv(295, 39%, 92%)
CMYKcmyk(3.4%, 38.9%, 0%, 8.2%)
CIE-LABlab(70.70, 45.54, -33.16)
CIE-LCHlch(70.70, 56.33, 323.94°)
OKLaboklab(76.59% 0.1239 -0.0907)
OKLCHoklch(76.59% 0.154 323.8)
XYZxyz(56.0363, 41.7564, 82.9340)
Luminance0.4175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FEA #97EA8F
analogous
#B58FEA #E28FEA #EA8FC5
triadic
#E28FEA #EAE28F #8FEAE2
tetradic
#E28FEA #EAB58F #97EA8F #8FC5EA
square
#E28FEA #EAB58F #97EA8F #8FC5EA
split-complementary
#E28FEA #C5EA8F #8FEAB5
monochromatic
#C728D6 #D55BE0 #E28FEA #EFC3F4 #F8E5FA

Accessibility & contrast

On white

2.25
#E28FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#E28FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FEA
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FEA#FFFFFF#000000##000000
##E28FEA1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7ED
Deuteranopia (green-blind)
#9BB0E7
Tritanopia (blue-blind)
#E599B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28fea;
/* rgb */ color: rgb(226, 143, 234);
/* oklch */ color: oklch(76.6% 0.154 323.8);
Tailwind
colors: {
  custom: {
    50: '#ecb1f1',
    500: '#e28fea',
    950: '#000000',
  },
}
SCSS
$custom: #e28fea;
$custom-light: #ecb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e28fea",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 234
  },
  "hsl": {
    "h": 294.725,
    "s": 68.421,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76585,
    "c": 0.15353,
    "h": 323.8
  },
  "luminance": 0.41754
}

Semantic roles & 50–950 ramp

primary
#E28FEA
secondary
#DBF2D9
accent
#D01526
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #E28FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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