#EC5EF7#EC5EF7

#EC5EF7 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.9% C 0.246 H 324.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#EC5EF7
RGBrgb(236, 94, 247)
HSLhsl(296, 91%, 67%)
HSVhsv(296, 62%, 97%)
CMYKcmyk(4.5%, 61.9%, 0%, 3.1%)
CIE-LABlab(63.80, 73.65, -51.04)
CIE-LCHlch(63.80, 89.61, 325.28°)
OKLaboklab(71.94% 0.2006 -0.1416)
OKLCHoklch(71.94% 0.246 324.8)
XYZxyz(55.3819, 32.5569, 91.3447)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EF7 #69F75E
analogous
#9F5EF7 #EC5EF7 #F75EB6
triadic
#EC5EF7 #F7EC5E #5EF7EC
tetradic
#EC5EF7 #F79F5E #69F75E #5EB6F7
square
#EC5EF7 #F79F5E #69F75E #5EB6F7
split-complementary
#EC5EF7 #B6F75E #5EF79F
monochromatic
#C20AD0 #E524F4 #EC5EF7 #F398FA #FAD3FD

Accessibility & contrast

On white

2.80
#EC5EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#EC5EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5EF7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EF7#FFFFFF#000000##000000
##EC5EF71.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFC
Deuteranopia (green-blind)
#79A1F3
Tritanopia (blue-blind)
#F174A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec5ef7;
/* rgb */ color: rgb(236, 94, 247);
/* oklch */ color: oklch(71.9% 0.246 324.8);
Tailwind
colors: {
  custom: {
    50: '#f694fa',
    500: '#ec5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ef7;
$custom-light: #f694fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ef7",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 295.686,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71943,
    "c": 0.24553,
    "h": 324.8
  },
  "luminance": 0.32554
}

Semantic roles & 50–950 ramp

primary
#EC5EF7
secondary
#C3F1C0
accent
#E60011
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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