#E28BFA#E28BFA

#E28BFA is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.7% C 0.176 H 318.7°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#E28BFA
RGBrgb(226, 139, 250)
HSLhsl(287, 92%, 76%)
HSVhsv(287, 44%, 98%)
CMYKcmyk(9.6%, 44.4%, 0%, 2%)
CIE-LABlab(70.55, 50.67, -42.15)
CIE-LCHlch(70.55, 65.91, 320.24°)
OKLaboklab(76.69% 0.1325 -0.1164)
OKLCHoklch(76.69% 0.176 318.7)
XYZxyz(57.8497, 41.5380, 95.3943)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28BFA #A3FA8B
analogous
#AB8BFA #E28BFA #FA8BDB
triadic
#E28BFA #FAE28B #8BFAE2
tetradic
#E28BFA #FAAB8B #A3FA8B #8BDBFA
square
#E28BFA #FAAB8B #A3FA8B #8BDBFA
split-complementary
#E28BFA #DBFA8B #8BFAAB
monochromatic
#C516F5 #D350F7 #E28BFA #F1C6FD #F8E2FE

Accessibility & contrast

On white

2.26
#E28BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E28BFA#FFFFFF#000000##000000
##E28BFA1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#E29AB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28bfa;
/* rgb */ color: rgb(226, 139, 250);
/* oklch */ color: oklch(76.7% 0.176 318.7);
Tailwind
colors: {
  custom: {
    50: '#edaffc',
    500: '#e28bfa',
    950: '#000000',
  },
}
SCSS
$custom: #e28bfa;
$custom-light: #edaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e28bfa",
  "rgb": {
    "r": 226,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 287.027,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7669,
    "c": 0.1764,
    "h": 318.7
  },
  "luminance": 0.41536
}

Semantic roles & 50–950 ramp

primary
#E28BFA
secondary
#DCF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E28BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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