#EC5AEC#EC5AEC

#EC5AEC is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.0% C 0.242 H 327.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#EC5AEC
RGBrgb(236, 90, 236)
HSLhsl(300, 79%, 64%)
HSVhsv(300, 62%, 93%)
CMYKcmyk(0%, 61.9%, 0%, 7.5%)
CIE-LABlab(62.68, 73.41, -46.71)
CIE-LCHlch(62.68, 87.01, 327.53°)
OKLaboklab(70.95% 0.2045 -0.129)
OKLCHoklch(70.95% 0.242 327.8)
XYZxyz(53.3878, 31.2049, 82.5518)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AEC #5AEC5A
analogous
#A35AEC #EC5AEC #EC5AA3
triadic
#EC5AEC #ECEC5A #5AECEC
tetradic
#EC5AEC #ECA35A #5AEC5A #5AA3EC
square
#EC5AEC #ECA35A #5AEC5A #5AA3EC
split-complementary
#EC5AEC #A3EC5A #5AECA3
monochromatic
#B715B7 #E623E6 #EC5AEC #F291F2 #F9C8F9

Accessibility & contrast

On white

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

On black

7.24
#EC5AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5AEC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AEC#FFFFFF#000000##000000
##EC5AEC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#F36D9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec5aec;
/* rgb */ color: rgb(236, 90, 236);
/* oklch */ color: oklch(71.0% 0.242 327.8);
Tailwind
colors: {
  custom: {
    50: '#f692f2',
    500: '#ec5aec',
    950: '#000000',
  },
}
SCSS
$custom: #ec5aec;
$custom-light: #f692f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5aec",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.70954,
    "c": 0.2418,
    "h": 327.8
  },
  "luminance": 0.31201
}

Semantic roles & 50–950 ramp

primary
#EC5AEC
secondary
#B7EBB7
accent
#DC0A0A
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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