#E28EF3#E28EF3

#E28EF3 is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.8% C 0.164 H 320.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#E28EF3
RGBrgb(226, 142, 243)
HSLhsl(290, 81%, 75%)
HSVhsv(290, 42%, 95%)
CMYKcmyk(7%, 41.6%, 0%, 4.7%)
CIE-LABlab(70.86, 47.76, -37.84)
CIE-LCHlch(70.86, 60.94, 321.61°)
OKLaboklab(76.83% 0.1271 -0.1041)
OKLCHoklch(76.83% 0.164 320.7)
XYZxyz(57.2127, 41.9878, 89.8674)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28EF3 #9FF38E
analogous
#AF8EF3 #E28EF3 #F38ED1
triadic
#E28EF3 #F3E28E #8EF3E2
tetradic
#E28EF3 #F3AF8E #9FF38E #8ED1F3
square
#E28EF3 #F3AF8E #9FF38E #8ED1F3
split-complementary
#E28EF3 #D1F38E #8EF3AF
monochromatic
#C61FE7 #D457ED #E28EF3 #F0C5F9 #F8E3FC

Accessibility & contrast

On white

2.23
#E28EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#E28EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28EF3
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28EF3#FFFFFF#000000##000000
##E28EF31.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F7
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#E49AB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28ef3;
/* rgb */ color: rgb(226, 142, 243);
/* oklch */ color: oklch(76.8% 0.164 320.7);
Tailwind
colors: {
  custom: {
    50: '#edb1f7',
    500: '#e28ef3',
    950: '#000000',
  },
}
SCSS
$custom: #e28ef3;
$custom-light: #edb1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ef3",
  "rgb": {
    "r": 226,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 289.901,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76825,
    "c": 0.16427,
    "h": 320.7
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#E28EF3
secondary
#DCF4D7
accent
#DD082C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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