#E28BF2#E28BF2

#E28BF2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.3% C 0.168 H 321.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#E28BF2
RGBrgb(226, 139, 242)
HSLhsl(291, 80%, 75%)
HSVhsv(291, 43%, 95%)
CMYKcmyk(6.6%, 42.6%, 0%, 5.1%)
CIE-LABlab(70.21, 49.12, -38.31)
CIE-LCHlch(70.21, 62.30, 322.05°)
OKLaboklab(76.32% 0.1312 -0.1054)
OKLCHoklch(76.32% 0.168 321.2)
XYZxyz(56.6218, 41.0469, 88.9274)
Luminance0.4104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28BF2 #9BF28B
analogous
#AF8BF2 #E28BF2 #F28BCE
triadic
#E28BF2 #F2E28B #8BF2E2
tetradic
#E28BF2 #F2AF8B #9BF28B #8BCEF2
square
#E28BF2 #F2AF8B #9BF28B #8BCEF2
split-complementary
#E28BF2 #CEF28B #8BF2AF
monochromatic
#C61DE6 #D454EC #E28BF2 #F0C2F8 #F8E3FC

Accessibility & contrast

On white

2.28
#E28BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#E28BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28BF2
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28BF2#FFFFFF#000000##000000
##E28BF21.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#E498B3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e28bf2;
/* rgb */ color: rgb(226, 139, 242);
/* oklch */ color: oklch(76.3% 0.168 321.2);
Tailwind
colors: {
  custom: {
    50: '#edaff6',
    500: '#e28bf2',
    950: '#000000',
  },
}
SCSS
$custom: #e28bf2;
$custom-light: #edaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#e28bf2",
  "rgb": {
    "r": 226,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 290.68,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76322,
    "c": 0.16825,
    "h": 321.2
  },
  "luminance": 0.41045
}

Semantic roles & 50–950 ramp

primary
#E28BF2
secondary
#DCF4D7
accent
#DC092A
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #E28BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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