#E174EC#E174EC

#E174EC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.6% C 0.199 H 323.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#E174EC
RGBrgb(225, 116, 236)
HSLhsl(295, 76%, 69%)
HSVhsv(295, 51%, 93%)
CMYKcmyk(4.7%, 50.8%, 0%, 7.5%)
CIE-LABlab(65.40, 59.21, -42.53)
CIE-LCHlch(65.40, 72.90, 324.31°)
OKLaboklab(72.64% 0.1606 -0.1174)
OKLCHoklch(72.64% 0.199 323.8)
XYZxyz(52.4356, 34.5570, 83.2488)
Luminance0.3455 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E174EC #7FEC74
analogous
#A574EC #E174EC #EC74BB
triadic
#E174EC #ECE174 #74ECE1
tetradic
#E174EC #ECA574 #7FEC74 #74BBEC
square
#E174EC #ECA574 #7FEC74 #74BBEC
split-complementary
#E174EC #BBEC74 #74ECA5
monochromatic
#BA1CCA #D53EE5 #E174EC #EDAAF3 #F8E0FB

Accessibility & contrast

On white

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

On black

7.91
#E174EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E174EC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E174EC#FFFFFF#000000##000000
##E174EC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#85A3E9
Tritanopia (blue-blind)
#E583A6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e174ec;
/* rgb */ color: rgb(225, 116, 236);
/* oklch */ color: oklch(72.6% 0.199 323.8);
Tailwind
colors: {
  custom: {
    50: '#eda0f2',
    500: '#e174ec',
    950: '#000000',
  },
}
SCSS
$custom: #e174ec;
$custom-light: #eda0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e174ec",
  "rgb": {
    "r": 225,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 294.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.1989,
    "h": 323.8
  },
  "luminance": 0.34554
}

Semantic roles & 50–950 ramp

primary
#E174EC
secondary
#D0EFCC
accent
#D80D20
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E174EC

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

Preview Lab → · Contrast checker → · Palette generator →

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