#E28CF2#E28CF2

#E28CF2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.5% C 0.167 H 321.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#E28CF2
RGBrgb(226, 140, 242)
HSLhsl(291, 80%, 75%)
HSVhsv(291, 42%, 95%)
CMYKcmyk(6.6%, 42.1%, 0%, 5.1%)
CIE-LABlab(70.41, 48.61, -38.00)
CIE-LCHlch(70.41, 61.70, 321.98°)
OKLaboklab(76.47% 0.1298 -0.1045)
OKLCHoklch(76.47% 0.167 321.2)
XYZxyz(56.7672, 41.3378, 88.9759)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CF2 #9CF28C
analogous
#AF8CF2 #E28CF2 #F28CCF
triadic
#E28CF2 #F2E28C #8CF2E2
tetradic
#E28CF2 #F2AF8C #9CF28C #8CCFF2
square
#E28CF2 #F2AF8C #9CF28C #8CCFF2
split-complementary
#E28CF2 #CFF28C #8CF2AF
monochromatic
#C61EE6 #D455EC #E28CF2 #F0C3F8 #F8E4FC

Accessibility & contrast

On white

2.27
#E28CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#E28CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CF2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CF2#FFFFFF#000000##000000
##E28CF21.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#95B0EF
Tritanopia (blue-blind)
#E498B4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28cf2;
/* rgb */ color: rgb(226, 140, 242);
/* oklch */ color: oklch(76.5% 0.167 321.2);
Tailwind
colors: {
  custom: {
    50: '#edaff6',
    500: '#e28cf2',
    950: '#000000',
  },
}
SCSS
$custom: #e28cf2;
$custom-light: #edaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cf2",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 290.588,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76474,
    "c": 0.16659,
    "h": 321.2
  },
  "luminance": 0.41336
}

Semantic roles & 50–950 ramp

primary
#E28CF2
secondary
#DCF4D7
accent
#DC0A2B
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #E28CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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