#E272DD#E272DD

#E272DD is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.189 H 329.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#E272DD
RGBrgb(226, 114, 221)
HSLhsl(303, 66%, 67%)
HSVhsv(303, 50%, 89%)
CMYKcmyk(0%, 49.6%, 2.2%, 11.4%)
CIE-LABlab(64.50, 57.78, -35.59)
CIE-LCHlch(64.50, 67.86, 328.37°)
OKLaboklab(71.79% 0.1622 -0.0974)
OKLCHoklch(71.79% 0.189 329)
XYZxyz(50.4319, 33.4268, 72.1883)
Luminance0.3342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E272DD #72E277
analogous
#AF72E2 #E272DD #E272A5
triadic
#E272DD #DDE272 #72DDE2
tetradic
#E272DD #E2AF72 #72E277 #72A5E2
square
#E272DD #E2AF72 #72E277 #72A5E2
split-complementary
#E272DD #A5E272 #72E2AF
monochromatic
#B425AE #D83FD1 #E272DD #ECA5E9 #F7D8F5

Accessibility & contrast

On white

2.73
#E272DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#E272DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E272DD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E272DD#FFFFFF#000000##000000
##E272DD1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E1
Deuteranopia (green-blind)
#8BA2DA
Tritanopia (blue-blind)
#E97D9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e272dd;
/* rgb */ color: rgb(226, 114, 221);
/* oklch */ color: oklch(71.8% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#ed9fe8',
    500: '#e272dd',
    950: '#000000',
  },
}
SCSS
$custom: #e272dd;
$custom-light: #ed9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#e272dd",
  "rgb": {
    "r": 226,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 302.679,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71787,
    "c": 0.1892,
    "h": 329
  },
  "luminance": 0.33424
}

Semantic roles & 50–950 ramp

primary
#E272DD
secondary
#C6EAC7
accent
#CE2018
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E272DD

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

Preview Lab → · Contrast checker → · Palette generator →

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