#E28FEB#E28FEB

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

Color values

HEX#E28FEB
RGBrgb(226, 143, 235)
HSLhsl(294, 70%, 74%)
HSVhsv(294, 39%, 92%)
CMYKcmyk(3.8%, 39.1%, 0%, 7.8%)
CIE-LABlab(70.74, 45.73, -33.65)
CIE-LCHlch(70.74, 56.77, 323.65°)
OKLaboklab(76.63% 0.1241 -0.0921)
OKLCHoklch(76.63% 0.155 323.4)
XYZxyz(56.1803, 41.8140, 83.6927)
Luminance0.4181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FEB #98EB8F
analogous
#B48FEB #E28FEB #EB8FC6
triadic
#E28FEB #EBE28F #8FEBE2
tetradic
#E28FEB #EBB48F #98EB8F #8FC6EB
square
#E28FEB #EBB48F #98EB8F #8FC6EB
split-complementary
#E28FEB #C6EB8F #8FEBB4
monochromatic
#C727D8 #D55BE2 #E28FEB #EFC3F4 #F8E5FA

Accessibility & contrast

On white

2.24
#E28FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#E28FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FEB
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FEB#FFFFFF#000000##000000
##E28FEB1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e28feb;
/* rgb */ color: rgb(226, 143, 235);
/* oklch */ color: oklch(76.6% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#ecb1f1',
    500: '#e28feb',
    950: '#000000',
  },
}
SCSS
$custom: #e28feb;
$custom-light: #ecb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e28feb",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 294.13,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76628,
    "c": 0.15453,
    "h": 323.4
  },
  "luminance": 0.41812
}

Semantic roles & 50–950 ramp

primary
#E28FEB
secondary
#DBF2D9
accent
#D21426
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #E28FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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