#E277DF#E277DF

#E277DF is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.183 H 328.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E277DF
RGBrgb(226, 119, 223)
HSLhsl(302, 65%, 68%)
HSVhsv(302, 47%, 89%)
CMYKcmyk(0%, 47.3%, 1.3%, 11.4%)
CIE-LABlab(65.51, 55.71, -35.14)
CIE-LCHlch(65.51, 65.87, 327.75°)
OKLaboklab(72.56% 0.1557 -0.0962)
OKLCHoklch(72.56% 0.183 328.3)
XYZxyz(51.2794, 34.6929, 73.7931)
Luminance0.3469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E277DF #77E27A
analogous
#AF77E2 #E277DF #E277AA
triadic
#E277DF #DFE277 #77DFE2
tetradic
#E277DF #E2AF77 #77E27A #77AAE2
square
#E277DF #E2AF77 #77E27A #77AAE2
split-complementary
#E277DF #AAE277 #77E2AF
monochromatic
#B727B3 #D745D3 #E277DF #EDA9EB #F8DCF7

Accessibility & contrast

On white

2.65
#E277DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#E277DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E277DF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E277DF#FFFFFF#000000##000000
##E277DF1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#E881A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e277df;
/* rgb */ color: rgb(226, 119, 223);
/* oklch */ color: oklch(72.6% 0.183 328.3);
Tailwind
colors: {
  custom: {
    50: '#eda2e9',
    500: '#e277df',
    950: '#000000',
  },
}
SCSS
$custom: #e277df;
$custom-light: #eda2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e277df",
  "rgb": {
    "r": 226,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 301.682,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.183,
    "h": 328.3
  },
  "luminance": 0.3469
}

Semantic roles & 50–950 ramp

primary
#E277DF
secondary
#CAEBCB
accent
#CD1E19
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E277DF

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

Preview Lab → · Contrast checker → · Palette generator →

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