#E240FF#E240FF

#E240FF is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.4% C 0.281 H 321.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#E240FF
RGBrgb(226, 64, 255)
HSLhsl(291, 100%, 63%)
HSVhsv(291, 75%, 100%)
CMYKcmyk(11.4%, 74.9%, 0%, 0%)
CIE-LABlab(59.03, 83.55, -63.16)
CIE-LCHlch(59.03, 104.74, 322.91°)
OKLaboklab(68.38% 0.2185 -0.177)
OKLCHoklch(68.38% 0.281 321)
XYZxyz(51.2453, 27.0583, 97.1119)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E240FF #5DFF40
analogous
#8240FF #E240FF #FF40BD
triadic
#E240FF #FFE240 #40FFE2
tetradic
#E240FF #FF8240 #5DFF40 #40BDFF
square
#E240FF #FF8240 #5DFF40 #40BDFF
split-complementary
#E240FF #BDFF40 #40FF82
monochromatic
#A700C5 #D903FF #E240FF #EB7DFF #F5BAFF

Accessibility & contrast

On white

3.28
#E240FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#E240FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E240FF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E240FF#FFFFFF#000000##000000
##E240FF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#E4679E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e240ff;
/* rgb */ color: rgb(226, 64, 255);
/* oklch */ color: oklch(68.4% 0.281 321.0);
Tailwind
colors: {
  custom: {
    50: '#f085ff',
    500: '#e240ff',
    950: '#000000',
  },
}
SCSS
$custom: #e240ff;
$custom-light: #f085ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e240ff",
  "rgb": {
    "r": 226,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 290.89,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68375,
    "c": 0.28114,
    "h": 321
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#E240FF
secondary
#B5F0AB
accent
#E60023
background
#FFF8FF
surface
#FFF0FF
border
#D7CBD7
text
#170C18
muted
#857D86

Preview Lab

Preview with #E240FF

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

Preview Lab → · Contrast checker → · Palette generator →

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