#E28FF2#E28FF2

#E28FF2 is a light, vivid purple. Relative luminance 0.422; OKLCH L 76.9% C 0.162 H 321.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#E28FF2
RGBrgb(226, 143, 242)
HSLhsl(290, 79%, 75%)
HSVhsv(290, 41%, 95%)
CMYKcmyk(6.6%, 40.9%, 0%, 5.1%)
CIE-LABlab(71.03, 47.05, -37.04)
CIE-LCHlch(71.03, 59.88, 321.79°)
OKLaboklab(76.94% 0.1255 -0.1018)
OKLCHoklch(76.94% 0.162 321)
XYZxyz(57.2116, 42.2265, 89.1240)
Luminance0.4222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FF2 #9FF28F
analogous
#B08FF2 #E28FF2 #F28FD0
triadic
#E28FF2 #F2E28F #8FF2E2
tetradic
#E28FF2 #F2B08F #9FF28F #8FD0F2
square
#E28FF2 #F2B08F #9FF28F #8FD0F2
split-complementary
#E28FF2 #D0F28F #8FF2B0
monochromatic
#C621E5 #D458EC #E28FF2 #F0C6F8 #F8E4FC

Accessibility & contrast

On white

2.22
#E28FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#E28FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FF2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FF2#FFFFFF#000000##000000
##E28FF21.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#E49BB5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ff2;
/* rgb */ color: rgb(226, 143, 242);
/* oklch */ color: oklch(76.9% 0.162 321.0);
Tailwind
colors: {
  custom: {
    50: '#ecb1f6',
    500: '#e28ff2',
    950: '#000000',
  },
}
SCSS
$custom: #e28ff2;
$custom-light: #ecb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ff2",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 290.303,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.16159,
    "h": 321
  },
  "luminance": 0.42224
}

Semantic roles & 50–950 ramp

primary
#E28FF2
secondary
#DCF4D7
accent
#DB0A2C
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E28FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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