#E274E8#E274E8

#E274E8 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.6% C 0.196 H 325.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#E274E8
RGBrgb(226, 116, 232)
HSLhsl(297, 72%, 68%)
HSVhsv(297, 50%, 91%)
CMYKcmyk(2.6%, 50%, 0%, 9%)
CIE-LABlab(65.35, 58.75, -40.39)
CIE-LCHlch(65.35, 71.30, 325.49°)
OKLaboklab(72.57% 0.1612 -0.1112)
OKLCHoklch(72.57% 0.196 325.4)
XYZxyz(52.1737, 34.4884, 80.2371)
Luminance0.3449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E274E8 #7AE874
analogous
#A874E8 #E274E8 #E874B4
triadic
#E274E8 #E8E274 #74E8E2
tetradic
#E274E8 #E8A874 #7AE874 #74B4E8
square
#E274E8 #E8A874 #7AE874 #74B4E8
split-complementary
#E274E8 #B4E874 #74E8A8
monochromatic
#B920C2 #D73FDF #E274E8 #EDA9F1 #F8DDF9

Accessibility & contrast

On white

2.66
#E274E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#E274E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E274E8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E274E8#FFFFFF#000000##000000
##E274E81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#88A3E5
Tritanopia (blue-blind)
#E782A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e274e8;
/* rgb */ color: rgb(226, 116, 232);
/* oklch */ color: oklch(72.6% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#eda0ef',
    500: '#e274e8',
    950: '#000000',
  },
}
SCSS
$custom: #e274e8;
$custom-light: #eda0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e274e8",
  "rgb": {
    "r": 226,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 296.897,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72568,
    "c": 0.1958,
    "h": 325.4
  },
  "luminance": 0.34486
}

Semantic roles & 50–950 ramp

primary
#E274E8
secondary
#CCEDCA
accent
#D4121C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E274E8

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

Preview Lab → · Contrast checker → · Palette generator →

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