#EC5CE7#EC5CE7

#EC5CE7 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.9% C 0.235 H 329.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#EC5CE7
RGBrgb(236, 92, 231)
HSLhsl(302, 79%, 64%)
HSVhsv(302, 61%, 93%)
CMYKcmyk(0%, 61%, 2.1%, 7.5%)
CIE-LABlab(62.73, 71.80, -43.86)
CIE-LCHlch(62.73, 84.13, 328.58°)
OKLaboklab(70.91% 0.2019 -0.1208)
OKLCHoklch(70.91% 0.235 329.1)
XYZxyz(52.8425, 31.2603, 78.8364)
Luminance0.3126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CE7 #5CEC61
analogous
#A95CEC #EC5CE7 #EC5C9F
triadic
#EC5CE7 #E7EC5C #5CE7EC
tetradic
#EC5CE7 #ECA95C #5CEC61 #5C9FEC
square
#EC5CE7 #ECA95C #5CEC61 #5C9FEC
split-complementary
#EC5CE7 #9FEC5C #5CECA9
monochromatic
#B815B2 #E625DF #EC5CE7 #F293EF #F9CAF7

Accessibility & contrast

On white

2.90
#EC5CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#EC5CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5CE7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CE7#FFFFFF#000000##000000
##EC5CE71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#819FE3
Tritanopia (blue-blind)
#F46D99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5ce7;
/* rgb */ color: rgb(236, 92, 231);
/* oklch */ color: oklch(70.9% 0.235 329.1);
Tailwind
colors: {
  custom: {
    50: '#f593ef',
    500: '#ec5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ce7;
$custom-light: #f593ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ce7",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 302.083,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70909,
    "c": 0.23526,
    "h": 329.1
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

primary
#EC5CE7
secondary
#B9EBBB
accent
#DB110A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #EC5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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