#E272DB#E272DB

#E272DB is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.187 H 329.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#E272DB
RGBrgb(226, 114, 219)
HSLhsl(304, 66%, 67%)
HSVhsv(304, 50%, 89%)
CMYKcmyk(0%, 49.6%, 3.1%, 11.4%)
CIE-LABlab(64.42, 57.44, -34.61)
CIE-LCHlch(64.42, 67.06, 328.93°)
OKLaboklab(71.7% 0.1619 -0.0946)
OKLCHoklch(71.7% 0.187 329.7)
XYZxyz(50.1670, 33.3208, 70.7933)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E272DB #72E279
analogous
#B172E2 #E272DB #E272A3
triadic
#E272DB #DBE272 #72DBE2
tetradic
#E272DB #E2B172 #72E279 #72A3E2
square
#E272DB #E2B172 #72E279 #72A3E2
split-complementary
#E272DB #A3E272 #72E2B1
monochromatic
#B425AC #D83FCE #E272DB #ECA5E8 #F7D8F5

Accessibility & contrast

On white

2.74
#E272DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#E272DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E272DB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E272DB#FFFFFF#000000##000000
##E272DB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#E97C9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e272db;
/* rgb */ color: rgb(226, 114, 219);
/* oklch */ color: oklch(71.7% 0.187 329.7);
Tailwind
colors: {
  custom: {
    50: '#ed9fe6',
    500: '#e272db',
    950: '#000000',
  },
}
SCSS
$custom: #e272db;
$custom-light: #ed9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#e272db",
  "rgb": {
    "r": 226,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 303.75,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.18749,
    "h": 329.7
  },
  "luminance": 0.33318
}

Semantic roles & 50–950 ramp

primary
#E272DB
secondary
#C6EAC8
accent
#CE2318
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E272DB

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

Preview Lab → · Contrast checker → · Palette generator →

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