#E272E7#E272E7

#E272E7 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.3% C 0.198 H 325.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#E272E7
RGBrgb(226, 114, 231)
HSLhsl(297, 71%, 68%)
HSVhsv(297, 51%, 91%)
CMYKcmyk(2.2%, 50.6%, 0%, 9.4%)
CIE-LABlab(64.94, 59.53, -40.47)
CIE-LCHlch(64.94, 71.99, 325.79°)
OKLaboklab(72.25% 0.1637 -0.1114)
OKLCHoklch(72.25% 0.198 325.8)
XYZxyz(51.8040, 33.9756, 79.4151)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E272E7 #77E772
analogous
#A872E7 #E272E7 #E772B1
triadic
#E272E7 #E7E272 #72E7E2
tetradic
#E272E7 #E7A872 #77E772 #72B1E7
square
#E272E7 #E7A872 #77E772 #72B1E7
split-complementary
#E272E7 #B1E772 #72E7A8
monochromatic
#B720BE #D73EDE #E272E7 #EDA6F0 #F8DBF9

Accessibility & contrast

On white

2.69
#E272E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#E272E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E272E7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E272E7#FFFFFF#000000##000000
##E272E71.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#E780A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e272e7;
/* rgb */ color: rgb(226, 114, 231);
/* oklch */ color: oklch(72.3% 0.198 325.8);
Tailwind
colors: {
  custom: {
    50: '#ed9fef',
    500: '#e272e7',
    950: '#000000',
  },
}
SCSS
$custom: #e272e7;
$custom-light: #ed9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#e272e7",
  "rgb": {
    "r": 226,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 297.436,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72254,
    "c": 0.19801,
    "h": 325.8
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

primary
#E272E7
secondary
#CAEDC8
accent
#D3131B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E272E7

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

Preview Lab → · Contrast checker → · Palette generator →

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