#E274EC#E274EC

#E274EC is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.8% C 0.199 H 324.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E274EC
RGBrgb(226, 116, 236)
HSLhsl(295, 76%, 69%)
HSVhsv(295, 51%, 93%)
CMYKcmyk(4.2%, 50.8%, 0%, 7.5%)
CIE-LABlab(65.53, 59.47, -42.33)
CIE-LCHlch(65.53, 73.00, 324.56°)
OKLaboklab(72.76% 0.1617 -0.1167)
OKLCHoklch(72.76% 0.199 324.2)
XYZxyz(52.7484, 34.7183, 83.2635)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E274EC #7EEC74
analogous
#A674EC #E274EC #EC74BA
triadic
#E274EC #ECE274 #74ECE2
tetradic
#E274EC #ECA674 #7EEC74 #74BAEC
square
#E274EC #ECA674 #7EEC74 #74BAEC
split-complementary
#E274EC #BAEC74 #74ECA6
monochromatic
#BB1CCA #D73EE5 #E274EC #EDAAF3 #F8E0FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E274EC#FFFFFF#000000##000000
##E274EC1.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)
#6497F0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#E683A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e274ec;
/* rgb */ color: rgb(226, 116, 236);
/* oklch */ color: oklch(72.8% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#eda0f2',
    500: '#e274ec',
    950: '#000000',
  },
}
SCSS
$custom: #e274ec;
$custom-light: #eda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e274ec",
  "rgb": {
    "r": 226,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 295,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.19944,
    "h": 324.2
  },
  "luminance": 0.34716
}

Semantic roles & 50–950 ramp

primary
#E274EC
secondary
#CFEFCC
accent
#D80D1E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E274EC

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

Preview Lab → · Contrast checker → · Palette generator →

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