#EC5CF7#EC5CF7

#EC5CF7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.7% C 0.248 H 324.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#EC5CF7
RGBrgb(236, 92, 247)
HSLhsl(296, 91%, 66%)
HSVhsv(296, 63%, 97%)
CMYKcmyk(4.5%, 62.8%, 0%, 3.1%)
CIE-LABlab(63.51, 74.45, -51.50)
CIE-LCHlch(63.51, 90.52, 325.33°)
OKLaboklab(71.73% 0.2028 -0.1429)
OKLCHoklch(71.73% 0.248 324.8)
XYZxyz(55.2064, 32.2058, 91.2862)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CF7 #67F75C
analogous
#9F5CF7 #EC5CF7 #F75CB5
triadic
#EC5CF7 #F7EC5C #5CF7EC
tetradic
#EC5CF7 #F79F5C #67F75C #5CB5F7
square
#EC5CF7 #F79F5C #67F75C #5CB5F7
split-complementary
#EC5CF7 #B5F75C #5CF79F
monochromatic
#C10ACE #E522F4 #EC5CF7 #F396FA #FAD1FD

Accessibility & contrast

On white

2.82
#EC5CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#EC5CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CF7
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CF7#FFFFFF#000000##000000
##EC5CF71.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFC
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#F173A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec5cf7;
/* rgb */ color: rgb(236, 92, 247);
/* oklch */ color: oklch(71.7% 0.248 324.8);
Tailwind
colors: {
  custom: {
    50: '#f693fa',
    500: '#ec5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5cf7;
$custom-light: #f693fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5cf7",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 295.742,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71734,
    "c": 0.24809,
    "h": 324.8
  },
  "luminance": 0.32203
}

Semantic roles & 50–950 ramp

primary
#EC5CF7
secondary
#C2F1BE
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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