#EF56EF#EF56EF

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

Color values

HEX#EF56EF
RGBrgb(239, 86, 239)
HSLhsl(300, 83%, 64%)
HSVhsv(300, 64%, 94%)
CMYKcmyk(0%, 64%, 0%, 6.3%)
CIE-LABlab(62.71, 76.13, -48.30)
CIE-LCHlch(62.71, 90.16, 327.60°)
OKLaboklab(71.11% 0.2122 -0.1335)
OKLCHoklch(71.11% 0.251 327.8)
XYZxyz(54.5036, 31.2420, 84.8042)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56EF #56EF56
analogous
#A256EF #EF56EF #EF56A2
triadic
#EF56EF #EFEF56 #56EFEF
tetradic
#EF56EF #EFA256 #56EF56 #56A2EF
square
#EF56EF #EFA256 #56EF56 #56A2EF
split-complementary
#EF56EF #A2EF56 #56EFA2
monochromatic
#B912B9 #EA1EEA #EF56EF #F48EF4 #FAC6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EF56EF#FFFFFF#000000##000000
##EF56EF1.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)
#418BF3
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#F66B9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ef56ef;
/* rgb */ color: rgb(239, 86, 239);
/* oklch */ color: oklch(71.1% 0.251 327.8);
Tailwind
colors: {
  custom: {
    50: '#f890f5',
    500: '#ef56ef',
    950: '#000000',
  },
}
SCSS
$custom: #ef56ef;
$custom-light: #f890f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56ef",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 300,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.71111,
    "c": 0.25067,
    "h": 327.8
  },
  "luminance": 0.31238
}

Semantic roles & 50–950 ramp

primary
#EF56EF
secondary
#B5EBB5
accent
#DF0606
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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