#E28DF2#E28DF2

#E28DF2 is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.6% C 0.165 H 321.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#E28DF2
RGBrgb(226, 141, 242)
HSLhsl(290, 80%, 75%)
HSVhsv(290, 42%, 95%)
CMYKcmyk(6.6%, 41.7%, 0%, 5.1%)
CIE-LABlab(70.62, 48.09, -37.68)
CIE-LCHlch(70.62, 61.09, 321.92°)
OKLaboklab(76.63% 0.1283 -0.1036)
OKLCHoklch(76.63% 0.165 321.1)
XYZxyz(56.9140, 41.6314, 89.0248)
Luminance0.4163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28DF2 #9DF28D
analogous
#AF8DF2 #E28DF2 #F28DD0
triadic
#E28DF2 #F2E28D #8DF2E2
tetradic
#E28DF2 #F2AF8D #9DF28D #8DD0F2
square
#E28DF2 #F2AF8D #9DF28D #8DD0F2
split-complementary
#E28DF2 #D0F28D #8DF2AF
monochromatic
#C61FE5 #D456EC #E28DF2 #F0C4F8 #F8E4FC

Accessibility & contrast

On white

2.25
#E28DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#E28DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28DF2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28DF2#FFFFFF#000000##000000
##E28DF21.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#E499B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28df2;
/* rgb */ color: rgb(226, 141, 242);
/* oklch */ color: oklch(76.6% 0.165 321.1);
Tailwind
colors: {
  custom: {
    50: '#edb0f6',
    500: '#e28df2',
    950: '#000000',
  },
}
SCSS
$custom: #e28df2;
$custom-light: #edb0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28df2",
  "rgb": {
    "r": 226,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 290.495,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76627,
    "c": 0.16493,
    "h": 321.1
  },
  "luminance": 0.41629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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