#E270DC#E270DC

#E270DC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.5% C 0.191 H 329.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#E270DC
RGBrgb(226, 112, 220)
HSLhsl(303, 66%, 66%)
HSVhsv(303, 50%, 89%)
CMYKcmyk(0%, 50.4%, 2.7%, 11.4%)
CIE-LABlab(64.10, 58.56, -35.66)
CIE-LCHlch(64.10, 68.57, 328.66°)
OKLaboklab(71.48% 0.1647 -0.0976)
OKLCHoklch(71.48% 0.191 329.4)
XYZxyz(50.0759, 32.9274, 71.4143)
Luminance0.3292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E270DC #70E276
analogous
#AF70E2 #E270DC #E270A3
triadic
#E270DC #DCE270 #70DCE2
tetradic
#E270DC #E2AF70 #70E276 #70A3E2
square
#E270DC #E2AF70 #70E276 #70A3E2
split-complementary
#E270DC #A3E270 #70E2AF
monochromatic
#B324AC #D83DD0 #E270DC #ECA3E8 #F7D6F5

Accessibility & contrast

On white

2.77
#E270DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#E270DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E270DC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E270DC#FFFFFF#000000##000000
##E270DC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E0
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#E97B9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e270dc;
/* rgb */ color: rgb(226, 112, 220);
/* oklch */ color: oklch(71.5% 0.191 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed9de7',
    500: '#e270dc',
    950: '#000000',
  },
}
SCSS
$custom: #e270dc;
$custom-light: #ed9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#e270dc",
  "rgb": {
    "r": 226,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 303.158,
    "s": 66.279,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71476,
    "c": 0.19148,
    "h": 329.4
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#E270DC
secondary
#C4EAC6
accent
#CE2117
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170F16
muted
#857E84

Preview Lab

Preview with #E270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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