#E28FFC#E28FFC

#E28FFC is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.4% C 0.172 H 317.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#E28FFC
RGBrgb(226, 143, 252)
HSLhsl(286, 95%, 77%)
HSVhsv(286, 43%, 99%)
CMYKcmyk(10.3%, 43.3%, 0%, 1.2%)
CIE-LABlab(71.45, 49.00, -41.83)
CIE-LCHlch(71.45, 64.43, 319.51°)
OKLaboklab(77.39% 0.1273 -0.1155)
OKLCHoklch(77.39% 0.172 317.8)
XYZxyz(58.7547, 42.8437, 97.2512)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E28FFC #A9FC8F
analogous
#AB8FFC #E28FFC #FC8FE0
triadic
#E28FFC #FCE28F #8FFCE2
tetradic
#E28FFC #FCAB8F #A9FC8F #8FE0FC
square
#E28FFC #FCAB8F #A9FC8F #8FE0FC
split-complementary
#E28FFC #E0FC8F #8FFCAB
monochromatic
#C318F9 #D353FA #E28FFC #F1CBFE #F7E1FE

Accessibility & contrast

On white

2.19
#E28FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#E28FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E28FFC
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E28FFC#FFFFFF#000000##000000
##E28FFC1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#93B2F9
Tritanopia (blue-blind)
#E29EBA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #e28ffc;
/* rgb */ color: rgb(226, 143, 252);
/* oklch */ color: oklch(77.4% 0.172 317.8);
Tailwind
colors: {
  custom: {
    50: '#edb1fd',
    500: '#e28ffc',
    950: '#000000',
  },
}
SCSS
$custom: #e28ffc;
$custom-light: #edb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e28ffc",
  "rgb": {
    "r": 226,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 285.688,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77389,
    "c": 0.17193,
    "h": 317.8
  },
  "luminance": 0.42842
}

Semantic roles & 50–950 ramp

primary
#E28FFC
secondary
#DDF6D5
accent
#E60037
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E28FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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