#E270FB#E270FB

#E270FB is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.0% C 0.219 H 320.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E270FB
RGBrgb(226, 112, 251)
HSLhsl(289, 95%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(10%, 55.4%, 0%, 1.6%)
CIE-LABlab(65.53, 64.13, -50.59)
CIE-LCHlch(65.53, 81.68, 321.73°)
OKLaboklab(73% 0.1684 -0.1406)
OKLCHoklch(73% 0.219 320.1)
XYZxyz(54.5687, 34.7245, 95.0762)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E270FB #89FB70
analogous
#9C70FB #E270FB #FB70CE
triadic
#E270FB #FBE270 #70FBE2
tetradic
#E270FB #FB9C70 #89FB70 #70CEFB
square
#E270FB #FB9C70 #89FB70 #70CEFB
split-complementary
#E270FB #CEFB70 #70FB9C
monochromatic
#C107EA #D634F9 #E270FB #EEACFD #F9E1FE

Accessibility & contrast

On white

2.64
#E270FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#E270FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E270FB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E270FB#FFFFFF#000000##000000
##E270FB1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#E385AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e270fb;
/* rgb */ color: rgb(226, 112, 251);
/* oklch */ color: oklch(73.0% 0.219 320.1);
Tailwind
colors: {
  custom: {
    50: '#ee9efd',
    500: '#e270fb',
    950: '#000000',
  },
}
SCSS
$custom: #e270fb;
$custom-light: #ee9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#e270fb",
  "rgb": {
    "r": 226,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 289.209,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72995,
    "c": 0.21936,
    "h": 320.1
  },
  "luminance": 0.34722
}

Semantic roles & 50–950 ramp

primary
#E270FB
secondary
#D8F6D1
accent
#E60029
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E270FB

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

Preview Lab → · Contrast checker → · Palette generator →

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