#E281FB#E281FB

#E281FB is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.193 H 319.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#E281FB
RGBrgb(226, 129, 251)
HSLhsl(288, 94%, 75%)
HSVhsv(288, 49%, 98%)
CMYKcmyk(10%, 48.6%, 0%, 1.6%)
CIE-LABlab(68.63, 55.92, -45.70)
CIE-LCHlch(68.63, 72.22, 320.74°)
OKLaboklab(75.28% 0.1463 -0.1266)
OKLCHoklch(75.28% 0.193 319.1)
XYZxyz(56.6246, 38.8364, 95.7615)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E281FB #9AFB81
analogous
#A581FB #E281FB #FB81D7
triadic
#E281FB #FBE281 #81FBE2
tetradic
#E281FB #FBA581 #9AFB81 #81D7FB
square
#E281FB #FBA581 #9AFB81 #81D7FB
split-complementary
#E281FB #D7FB81 #81FBA5
monochromatic
#C70AF7 #D446F9 #E281FB #F0BCFD #F8E1FE

Accessibility & contrast

On white

2.40
#E281FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#E281FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E281FB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E281FB#FFFFFF#000000##000000
##E281FB1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#E392B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e281fb;
/* rgb */ color: rgb(226, 129, 251);
/* oklch */ color: oklch(75.3% 0.193 319.1);
Tailwind
colors: {
  custom: {
    50: '#eda8fd',
    500: '#e281fb',
    950: '#000000',
  },
}
SCSS
$custom: #e281fb;
$custom-light: #eda8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e281fb",
  "rgb": {
    "r": 226,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 287.705,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75278,
    "c": 0.19346,
    "h": 319.1
  },
  "luminance": 0.38834
}

Semantic roles & 50–950 ramp

primary
#E281FB
secondary
#DCF6D5
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E281FB

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

Preview Lab → · Contrast checker → · Palette generator →

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