#E28BFC#E28BFC

#E28BFC is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.8% C 0.178 H 318.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#E28BFC
RGBrgb(226, 139, 252)
HSLhsl(286, 95%, 77%)
HSVhsv(286, 45%, 99%)
CMYKcmyk(10.3%, 44.8%, 0%, 1.2%)
CIE-LABlab(70.64, 51.06, -43.10)
CIE-LCHlch(70.64, 66.82, 319.83°)
OKLaboklab(76.78% 0.1329 -0.1191)
OKLCHoklch(76.78% 0.178 318.1)
XYZxyz(58.1649, 41.6641, 97.0546)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28BFC #A5FC8B
analogous
#AA8BFC #E28BFC #FC8BDD
triadic
#E28BFC #FCE28B #8BFCE2
tetradic
#E28BFC #FCAA8B #A5FC8B #8BDDFC
square
#E28BFC #FCAA8B #A5FC8B #8BDDFC
split-complementary
#E28BFC #DDFC8B #8BFCAA
monochromatic
#C414F9 #D34FFA #E28BFC #F1C7FE #F8E1FE

Accessibility & contrast

On white

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

On black

9.33
#E28BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28BFC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28BFC#FFFFFF#000000##000000
##E28BFC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#E29AB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28bfc;
/* rgb */ color: rgb(226, 139, 252);
/* oklch */ color: oklch(76.8% 0.178 318.1);
Tailwind
colors: {
  custom: {
    50: '#edaffe',
    500: '#e28bfc',
    950: '#000000',
  },
}
SCSS
$custom: #e28bfc;
$custom-light: #edaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e28bfc",
  "rgb": {
    "r": 226,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 286.195,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76784,
    "c": 0.17846,
    "h": 318.1
  },
  "luminance": 0.41662
}

Semantic roles & 50–950 ramp

primary
#E28BFC
secondary
#DCF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #E28BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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