#E28AFF#E28AFF

#E28AFF is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.8% C 0.183 H 317.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#E28AFF
RGBrgb(226, 138, 255)
HSLhsl(285, 100%, 77%)
HSVhsv(285, 46%, 100%)
CMYKcmyk(11.4%, 45.9%, 0%, 0%)
CIE-LABlab(70.57, 52.16, -44.84)
CIE-LCHlch(70.57, 68.78, 319.32°)
OKLaboklab(76.78% 0.1347 -0.1241)
OKLCHoklch(76.78% 0.183 317.3)
XYZxyz(58.4999, 41.5675, 99.5301)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28AFF #A7FF8A
analogous
#A88AFF #E28AFF #FF8AE2
triadic
#E28AFF #FFE28A #8AFFE2
tetradic
#E28AFF #FFA88A #A7FF8A #8AE2FF
square
#E28AFF #FFA88A #A7FF8A #8AE2FF
split-complementary
#E28AFF #E2FF8A #8AFFA8
monochromatic
#C410FF #D34DFF #E28AFF #F1C7FF #F7E0FF

Accessibility & contrast

On white

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

On black

9.31
#E28AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28AFF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28AFF#FFFFFF#000000##000000
##E28AFF1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#8EAFFC
Tritanopia (blue-blind)
#E19AB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28aff;
/* rgb */ color: rgb(226, 138, 255);
/* oklch */ color: oklch(76.8% 0.183 317.3);
Tailwind
colors: {
  custom: {
    50: '#edaeff',
    500: '#e28aff',
    950: '#000000',
  },
}
SCSS
$custom: #e28aff;
$custom-light: #edaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#e28aff",
  "rgb": {
    "r": 226,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 285.128,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76778,
    "c": 0.18318,
    "h": 317.3
  },
  "luminance": 0.41566
}

Semantic roles & 50–950 ramp

primary
#E28AFF
secondary
#DCF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#171018
muted
#857F86

Preview Lab

Preview with #E28AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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