#E272DF#E272DF

#E272DF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.9% C 0.191 H 328.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#E272DF
RGBrgb(226, 114, 223)
HSLhsl(302, 66%, 67%)
HSVhsv(302, 50%, 89%)
CMYKcmyk(0%, 49.6%, 1.3%, 11.4%)
CIE-LABlab(64.59, 58.13, -36.57)
CIE-LCHlch(64.59, 68.68, 327.82°)
OKLaboklab(71.88% 0.1625 -0.1002)
OKLCHoklch(71.88% 0.191 328.3)
XYZxyz(50.6999, 33.5340, 73.6000)
Luminance0.3353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E272DF #72E275
analogous
#AD72E2 #E272DF #E272A7
triadic
#E272DF #DFE272 #72DFE2
tetradic
#E272DF #E2AD72 #72E275 #72A7E2
square
#E272DF #E2AD72 #72E275 #72A7E2
split-complementary
#E272DF #A7E272 #72E2AD
monochromatic
#B425B1 #D83FD3 #E272DF #ECA5EB #F7D8F6

Accessibility & contrast

On white

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

On black

7.71
#E272DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E272DF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E272DF#FFFFFF#000000##000000
##E272DF1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E87D9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e272df;
/* rgb */ color: rgb(226, 114, 223);
/* oklch */ color: oklch(71.9% 0.191 328.3);
Tailwind
colors: {
  custom: {
    50: '#ed9fe9',
    500: '#e272df',
    950: '#000000',
  },
}
SCSS
$custom: #e272df;
$custom-light: #ed9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#e272df",
  "rgb": {
    "r": 226,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 301.607,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.19094,
    "h": 328.3
  },
  "luminance": 0.33531
}

Semantic roles & 50–950 ramp

primary
#E272DF
secondary
#C6EAC7
accent
#CE1D18
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E272DF

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

Preview Lab → · Contrast checker → · Palette generator →

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