#E28CFA#E28CFA

#E28CFA is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.8% C 0.175 H 318.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#E28CFA
RGBrgb(226, 140, 250)
HSLhsl(287, 92%, 76%)
HSVhsv(287, 44%, 98%)
CMYKcmyk(9.6%, 44%, 0%, 2%)
CIE-LABlab(70.75, 50.15, -41.83)
CIE-LCHlch(70.75, 65.31, 320.17°)
OKLaboklab(76.84% 0.1312 -0.1155)
OKLCHoklch(76.84% 0.175 318.6)
XYZxyz(57.9951, 41.8289, 95.4427)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28CFA #A4FA8C
analogous
#AB8CFA #E28CFA #FA8CDB
triadic
#E28CFA #FAE28C #8CFAE2
tetradic
#E28CFA #FAAB8C #A4FA8C #8CDBFA
square
#E28CFA #FAAB8C #A4FA8C #8CDBFA
split-complementary
#E28CFA #DBFA8C #8CFAAB
monochromatic
#C417F5 #D351F7 #E28CFA #F1C7FD #F8E2FE

Accessibility & contrast

On white

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

On black

9.37
#E28CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28CFA
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28CFA#FFFFFF#000000##000000
##E28CFA1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#E29BB7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #e28cfa;
/* rgb */ color: rgb(226, 140, 250);
/* oklch */ color: oklch(76.8% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#edaffc',
    500: '#e28cfa',
    950: '#000000',
  },
}
SCSS
$custom: #e28cfa;
$custom-light: #edaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#e28cfa",
  "rgb": {
    "r": 226,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 286.909,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76841,
    "c": 0.17477,
    "h": 318.6
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

primary
#E28CFA
secondary
#DCF6D5
accent
#E60032
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #E28CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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