#EF56EC#EF56EC

#EF56EC is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 71.0% C 0.248 H 328.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#EF56EC
RGBrgb(239, 86, 236)
HSLhsl(301, 83%, 64%)
HSVhsv(301, 64%, 94%)
CMYKcmyk(0%, 64%, 1.3%, 6.3%)
CIE-LABlab(62.56, 75.64, -46.87)
CIE-LCHlch(62.56, 88.99, 328.22°)
OKLaboklab(70.96% 0.212 -0.1294)
OKLCHoklch(70.96% 0.248 328.6)
XYZxyz(54.0641, 31.0662, 82.4894)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56EC #56EF59
analogous
#A556EF #EF56EC #EF569F
triadic
#EF56EC #ECEF56 #56ECEF
tetradic
#EF56EC #EFA556 #56EF59 #569FEF
square
#EF56EC #EFA556 #56EF59 #569FEF
split-complementary
#EF56EC #9FEF56 #56EFA5
monochromatic
#B912B6 #EA1EE6 #EF56EC #F48EF2 #FAC6F9

Accessibility & contrast

On white

2.91
#EF56EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#EF56EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56EC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56EC#FFFFFF#000000##000000
##EF56EC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#F76A9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ef56ec;
/* rgb */ color: rgb(239, 86, 236);
/* oklch */ color: oklch(71.0% 0.248 328.6);
Tailwind
colors: {
  custom: {
    50: '#f890f2',
    500: '#ef56ec',
    950: '#000000',
  },
}
SCSS
$custom: #ef56ec;
$custom-light: #f890f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56ec",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 301.176,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.70956,
    "c": 0.24837,
    "h": 328.6
  },
  "luminance": 0.31062
}

Semantic roles & 50–950 ramp

primary
#EF56EC
secondary
#B5EBB6
accent
#DF0B06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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