#E28CFB#E28CFB

#E28CFB is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.9% C 0.176 H 318.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#E28CFB
RGBrgb(226, 140, 251)
HSLhsl(286, 93%, 77%)
HSVhsv(286, 44%, 98%)
CMYKcmyk(10%, 44.2%, 0%, 1.6%)
CIE-LABlab(70.80, 50.35, -42.31)
CIE-LCHlch(70.80, 65.76, 319.96°)
OKLaboklab(76.89% 0.1313 -0.1169)
OKLCHoklch(76.89% 0.176 318.3)
XYZxyz(58.1523, 41.8918, 96.2707)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CFB #A5FB8C
analogous
#AB8CFB #E28CFB #FB8CDD
triadic
#E28CFB #FBE28C #8CFBE2
tetradic
#E28CFB #FBAB8C #A5FB8C #8CDDFB
square
#E28CFB #FBAB8C #A5FB8C #8CDDFB
split-complementary
#E28CFB #DDFB8C #8CFBAB
monochromatic
#C416F7 #D351F9 #E28CFB #F1C7FD #F8E1FE

Accessibility & contrast

On white

2.24
#E28CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#E28CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CFB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CFB#FFFFFF#000000##000000
##E28CFB1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#E29BB8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28cfb;
/* rgb */ color: rgb(226, 140, 251);
/* oklch */ color: oklch(76.9% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#edb0fd',
    500: '#e28cfb',
    950: '#000000',
  },
}
SCSS
$custom: #e28cfb;
$custom-light: #edb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cfb",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 286.486,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76887,
    "c": 0.17579,
    "h": 318.3
  },
  "luminance": 0.4189
}

Semantic roles & 50–950 ramp

primary
#E28CFB
secondary
#DCF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #E28CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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