#EC56F3#EC56F3

#EC56F3 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.9% C 0.252 H 326.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#EC56F3
RGBrgb(236, 86, 243)
HSLhsl(297, 87%, 65%)
HSVhsv(297, 65%, 95%)
CMYKcmyk(2.9%, 64.6%, 0%, 4.7%)
CIE-LABlab(62.48, 76.10, -50.92)
CIE-LCHlch(62.48, 91.57, 326.21°)
OKLaboklab(70.92% 0.2092 -0.1412)
OKLCHoklch(70.92% 0.252 326)
XYZxyz(54.0964, 30.9629, 87.9038)
Luminance0.3096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56F3 #5DF356
analogous
#9E56F3 #EC56F3 #F356AC
triadic
#EC56F3 #F3EC56 #56F3EC
tetradic
#EC56F3 #F39E56 #5DF356 #56ACF3
square
#EC56F3 #F39E56 #5DF356 #56ACF3
split-complementary
#EC56F3 #ACF356 #56F39E
monochromatic
#B90EC1 #E61DEF #EC56F3 #F28FF7 #F9C8FB

Accessibility & contrast

On white

2.92
#EC56F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#EC56F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC56F3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC56F3#FFFFFF#000000##000000
##EC56F31.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8BF8
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#F26D9E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ec56f3;
/* rgb */ color: rgb(236, 86, 243);
/* oklch */ color: oklch(70.9% 0.252 326.0);
Tailwind
colors: {
  custom: {
    50: '#f690f7',
    500: '#ec56f3',
    950: '#000000',
  },
}
SCSS
$custom: #ec56f3;
$custom-light: #f690f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56f3",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 297.325,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7092,
    "c": 0.25234,
    "h": 326
  },
  "luminance": 0.3096
}

Semantic roles & 50–950 ramp

primary
#EC56F3
secondary
#BAEDB7
accent
#E3020C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC56F3

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

Preview Lab → · Contrast checker → · Palette generator →

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