#E28FF6#E28FF6

#E28FF6 is a light, vivid purple. Relative luminance 0.425; OKLCH L 77.1% C 0.166 H 319.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#E28FF6
RGBrgb(226, 143, 246)
HSLhsl(288, 85%, 76%)
HSVhsv(288, 42%, 96%)
CMYKcmyk(8.1%, 41.9%, 0%, 3.5%)
CIE-LABlab(71.19, 47.82, -38.96)
CIE-LCHlch(71.19, 61.69, 320.83°)
OKLaboklab(77.11% 0.1263 -0.1073)
OKLCHoklch(77.11% 0.166 319.6)
XYZxyz(57.8189, 42.4694, 92.3226)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FF6 #A3F68F
analogous
#AF8FF6 #E28FF6 #F68FD7
triadic
#E28FF6 #F6E28F #8FF6E2
tetradic
#E28FF6 #F6AF8F #A3F68F #8FD7F6
square
#E28FF6 #F6AF8F #A3F68F #8FD7F6
split-complementary
#E28FF6 #D7F68F #8FF6AF
monochromatic
#C51EED #D356F1 #E28FF6 #F1C8FB #F8E3FD

Accessibility & contrast

On white

2.21
#E28FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#E28FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FF6
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FF6#FFFFFF#000000##000000
##E28FF61.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FA
Deuteranopia (green-blind)
#96B1F3
Tritanopia (blue-blind)
#E39CB7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #e28ff6;
/* rgb */ color: rgb(226, 143, 246);
/* oklch */ color: oklch(77.1% 0.166 319.6);
Tailwind
colors: {
  custom: {
    50: '#edb1f9',
    500: '#e28ff6',
    950: '#000000',
  },
}
SCSS
$custom: #e28ff6;
$custom-light: #edb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ff6",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 288.35,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.16569,
    "h": 319.6
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#E28FF6
secondary
#DCF5D6
accent
#E2042F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E28FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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