#E27AFE#E27AFE

#E27AFE is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.5% C 0.207 H 318.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#E27AFE
RGBrgb(226, 122, 254)
HSLhsl(287, 99%, 74%)
HSVhsv(287, 52%, 100%)
CMYKcmyk(11%, 52%, 0%, 0.4%)
CIE-LABlab(67.46, 59.95, -49.19)
CIE-LCHlch(67.46, 77.54, 320.63°)
OKLaboklab(74.46% 0.1559 -0.1366)
OKLCHoklch(74.46% 0.207 318.8)
XYZxyz(56.2106, 37.2457, 97.9749)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E27AFE #96FE7A
analogous
#A07AFE #E27AFE #FE7AD8
triadic
#E27AFE #FEE27A #7AFEE2
tetradic
#E27AFE #FEA07A #96FE7A #7AD8FE
square
#E27AFE #FEA07A #96FE7A #7AD8FE
split-complementary
#E27AFE #D8FE7A #7AFEA0
monochromatic
#C702FC #D53DFE #E27AFE #EFB7FE #F8E1FF

Accessibility & contrast

On white

2.49
#E27AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#E27AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E27AFE
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E27AFE#FFFFFF#000000##000000
##E27AFE1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#E28DB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e27afe;
/* rgb */ color: rgb(226, 122, 254);
/* oklch */ color: oklch(74.5% 0.207 318.8);
Tailwind
colors: {
  custom: {
    50: '#eea4ff',
    500: '#e27afe',
    950: '#000000',
  },
}
SCSS
$custom: #e27afe;
$custom-light: #eea4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e27afe",
  "rgb": {
    "r": 226,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 287.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74458,
    "c": 0.20728,
    "h": 318.8
  },
  "luminance": 0.37244
}

Semantic roles & 50–950 ramp

primary
#E27AFE
secondary
#DBF7D4
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E27AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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