#E281FC#E281FC

#E281FC is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.3% C 0.194 H 318.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#E281FC
RGBrgb(226, 129, 252)
HSLhsl(287, 95%, 75%)
HSVhsv(287, 49%, 99%)
CMYKcmyk(10.3%, 48.8%, 0%, 1.2%)
CIE-LABlab(68.68, 56.12, -46.18)
CIE-LCHlch(68.68, 72.67, 320.55°)
OKLaboklab(75.33% 0.1464 -0.128)
OKLCHoklch(75.33% 0.194 318.9)
XYZxyz(56.7827, 38.8996, 96.5939)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E281FC #9BFC81
analogous
#A581FC #E281FC #FC81D9
triadic
#E281FC #FCE281 #81FCE2
tetradic
#E281FC #FCA581 #9BFC81 #81D9FC
square
#E281FC #FCA581 #9BFC81 #81D9FC
split-complementary
#E281FC #D9FC81 #81FCA5
monochromatic
#C609F9 #D445FB #E281FC #F0BDFD #F8E1FE

Accessibility & contrast

On white

2.39
#E281FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#E281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E281FC
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E281FC#FFFFFF#000000##000000
##E281FC1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#E292B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #e281fc;
/* rgb */ color: rgb(226, 129, 252);
/* oklch */ color: oklch(75.3% 0.194 318.9);
Tailwind
colors: {
  custom: {
    50: '#eda8fe',
    500: '#e281fc',
    950: '#000000',
  },
}
SCSS
$custom: #e281fc;
$custom-light: #eda8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e281fc",
  "rgb": {
    "r": 226,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 287.317,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75327,
    "c": 0.19446,
    "h": 318.9
  },
  "luminance": 0.38898
}

Semantic roles & 50–950 ramp

primary
#E281FC
secondary
#DCF7D4
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #E281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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