#E28BFB#E28BFB

#E28BFB is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.7% C 0.177 H 318.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#E28BFB
RGBrgb(226, 139, 251)
HSLhsl(287, 93%, 76%)
HSVhsv(287, 45%, 98%)
CMYKcmyk(10%, 44.6%, 0%, 1.6%)
CIE-LABlab(70.59, 50.86, -42.63)
CIE-LCHlch(70.59, 66.36, 320.03°)
OKLaboklab(76.74% 0.1327 -0.1178)
OKLCHoklch(76.74% 0.177 318.4)
XYZxyz(58.0069, 41.6009, 96.2223)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28BFB #A4FB8B
analogous
#AA8BFB #E28BFB #FB8BDC
triadic
#E28BFB #FBE28B #8BFBE2
tetradic
#E28BFB #FBAA8B #A4FB8B #8BDCFB
square
#E28BFB #FBAA8B #A4FB8B #8BDCFB
split-complementary
#E28BFB #DCFB8B #8BFBAA
monochromatic
#C415F7 #D350F9 #E28BFB #F1C6FD #F8E1FE

Accessibility & contrast

On white

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

On black

9.32
#E28BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28BFB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28BFB#FFFFFF#000000##000000
##E28BFB1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e28bfb;
/* rgb */ color: rgb(226, 139, 251);
/* oklch */ color: oklch(76.7% 0.177 318.4);
Tailwind
colors: {
  custom: {
    50: '#edaffd',
    500: '#e28bfb',
    950: '#000000',
  },
}
SCSS
$custom: #e28bfb;
$custom-light: #edaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e28bfb",
  "rgb": {
    "r": 226,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 286.607,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76737,
    "c": 0.17742,
    "h": 318.4
  },
  "luminance": 0.41599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E28BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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