#EC56F7#EC56F7

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

Color values

HEX#EC56F7
RGBrgb(236, 86, 247)
HSLhsl(296, 91%, 65%)
HSVhsv(296, 65%, 97%)
CMYKcmyk(4.5%, 65.2%, 0%, 3.1%)
CIE-LABlab(62.68, 76.77, -52.81)
CIE-LCHlch(62.68, 93.18, 325.47°)
OKLaboklab(71.14% 0.2092 -0.1467)
OKLCHoklch(71.14% 0.256 325)
XYZxyz(54.7071, 31.2072, 91.1197)
Luminance0.3120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC56F7 #61F756
analogous
#9C56F7 #EC56F7 #F756B1
triadic
#EC56F7 #F7EC56 #56F7EC
tetradic
#EC56F7 #F79C56 #61F756 #56B1F7
square
#EC56F7 #F79C56 #61F756 #56B1F7
split-complementary
#EC56F7 #B1F756 #56F79C
monochromatic
#BC0AC9 #E51CF4 #EC56F7 #F390FA #F9CBFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC56F7#FFFFFF#000000##000000
##EC56F71.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)
#358CFC
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#F16FA0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ec56f7;
/* rgb */ color: rgb(236, 86, 247);
/* oklch */ color: oklch(71.1% 0.256 325.0);
Tailwind
colors: {
  custom: {
    50: '#f690fa',
    500: '#ec56f7',
    950: '#000000',
  },
}
SCSS
$custom: #ec56f7;
$custom-light: #f690fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec56f7",
  "rgb": {
    "r": 236,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 295.901,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71135,
    "c": 0.25552,
    "h": 325
  },
  "luminance": 0.31204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC56F7

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

Preview Lab → · Contrast checker → · Palette generator →

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