#EC7FF5#EC7FF5

#EC7FF5 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.9% C 0.196 H 324.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#EC7FF5
RGBrgb(236, 127, 245)
HSLhsl(295, 86%, 73%)
HSVhsv(295, 48%, 96%)
CMYKcmyk(3.7%, 48.2%, 0%, 3.9%)
CIE-LABlab(69.19, 58.51, -41.46)
CIE-LCHlch(69.19, 71.71, 324.68°)
OKLaboklab(75.86% 0.1595 -0.1141)
OKLCHoklch(75.86% 0.196 324.4)
XYZxyz(58.6614, 39.6070, 90.9235)
Luminance0.3960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7FF5 #88F57F
analogous
#B17FF5 #EC7FF5 #F57FC3
triadic
#EC7FF5 #F5EC7F #7FF5EC
tetradic
#EC7FF5 #F5B17F #88F57F #7FC3F5
square
#EC7FF5 #F5B17F #88F57F #7FC3F5
split-complementary
#EC7FF5 #C3F57F #7FF5B1
monochromatic
#D712E8 #E446F1 #EC7FF5 #F4B8F9 #FBE3FD

Accessibility & contrast

On white

2.35
#EC7FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#EC7FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7FF5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7FF5#FFFFFF#000000##000000
##EC7FF51.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F9
Deuteranopia (green-blind)
#91AEF2
Tritanopia (blue-blind)
#F08DAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ec7ff5;
/* rgb */ color: rgb(236, 127, 245);
/* oklch */ color: oklch(75.9% 0.196 324.4);
Tailwind
colors: {
  custom: {
    50: '#f4a8f9',
    500: '#ec7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ec7ff5;
$custom-light: #f4a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7ff5",
  "rgb": {
    "r": 236,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 295.424,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75859,
    "c": 0.1961,
    "h": 324.4
  },
  "luminance": 0.39604
}

Semantic roles & 50–950 ramp

primary
#EC7FF5
secondary
#D9F5D6
accent
#E20314
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EC7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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