#E281F2#E281F2

#E281F2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.8% C 0.185 H 321.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#E281F2
RGBrgb(226, 129, 242)
HSLhsl(292, 81%, 73%)
HSVhsv(292, 47%, 95%)
CMYKcmyk(6.6%, 46.7%, 0%, 5.1%)
CIE-LABlab(68.23, 54.21, -41.40)
CIE-LCHlch(68.23, 68.21, 322.63°)
OKLaboklab(74.85% 0.145 -0.1142)
OKLCHoklch(74.85% 0.185 321.8)
XYZxyz(55.2395, 38.2823, 88.4667)
Luminance0.3828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E281F2 #91F281
analogous
#A981F2 #E281F2 #F281CA
triadic
#E281F2 #F2E281 #81F2E2
tetradic
#E281F2 #F2A981 #91F281 #81CAF2
square
#E281F2 #F2A981 #91F281 #81CAF2
split-complementary
#E281F2 #CAF281 #81F2A9
monochromatic
#C517E1 #D54AEC #E281F2 #EFB8F8 #F9E3FC

Accessibility & contrast

On white

2.43
#E281F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#E281F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E281F2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E281F2#FFFFFF#000000##000000
##E281F21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#E48FAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #e281f2;
/* rgb */ color: rgb(226, 129, 242);
/* oklch */ color: oklch(74.8% 0.185 321.8);
Tailwind
colors: {
  custom: {
    50: '#eda8f6',
    500: '#e281f2',
    950: '#000000',
  },
}
SCSS
$custom: #e281f2;
$custom-light: #eda8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e281f2",
  "rgb": {
    "r": 226,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 291.504,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74846,
    "c": 0.18459,
    "h": 321.8
  },
  "luminance": 0.3828
}

Semantic roles & 50–950 ramp

primary
#E281F2
secondary
#DBF4D7
accent
#DE0826
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #E281F2

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

Preview Lab → · Contrast checker → · Palette generator →

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