#E28EF2#E28EF2

#E28EF2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.8% C 0.163 H 321.0°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#E28EF2
RGBrgb(226, 142, 242)
HSLhsl(290, 79%, 75%)
HSVhsv(290, 41%, 95%)
CMYKcmyk(6.6%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.82, 47.57, -37.36)
CIE-LCHlch(70.82, 60.49, 321.86°)
OKLaboklab(76.78% 0.1269 -0.1027)
OKLCHoklch(76.78% 0.163 321)
XYZxyz(57.0621, 41.9276, 89.0742)
Luminance0.4193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EF2 #9EF28E
analogous
#B08EF2 #E28EF2 #F28ED0
triadic
#E28EF2 #F2E28E #8EF2E2
tetradic
#E28EF2 #F2B08E #9EF28E #8ED0F2
square
#E28EF2 #F2B08E #9EF28E #8ED0F2
split-complementary
#E28EF2 #D0F28E #8EF2B0
monochromatic
#C620E5 #D457EC #E28EF2 #F0C5F8 #F8E4FC

Accessibility & contrast

On white

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

On black

9.39
#E28EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28EF2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28EF2#FFFFFF#000000##000000
##E28EF21.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#97B1EF
Tritanopia (blue-blind)
#E49AB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28ef2;
/* rgb */ color: rgb(226, 142, 242);
/* oklch */ color: oklch(76.8% 0.163 321.0);
Tailwind
colors: {
  custom: {
    50: '#edb1f6',
    500: '#e28ef2',
    950: '#000000',
  },
}
SCSS
$custom: #e28ef2;
$custom-light: #edb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ef2",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 290.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7678,
    "c": 0.16325,
    "h": 321
  },
  "luminance": 0.41926
}

Semantic roles & 50–950 ramp

primary
#E28EF2
secondary
#DCF4D7
accent
#DC0A2B
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E28EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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