#EF56F7#EF56F7

#EF56F7 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.5% C 0.257 H 325.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#EF56F7
RGBrgb(239, 86, 247)
HSLhsl(297, 91%, 65%)
HSVhsv(297, 65%, 97%)
CMYKcmyk(3.2%, 65.2%, 0%, 3.1%)
CIE-LABlab(63.12, 77.43, -52.10)
CIE-LCHlch(63.12, 93.33, 326.07°)
OKLaboklab(71.53% 0.2124 -0.1445)
OKLCHoklch(71.53% 0.257 325.8)
XYZxyz(55.7117, 31.7252, 91.1668)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF56F7 #5EF756
analogous
#9F56F7 #EF56F7 #F756AE
triadic
#EF56F7 #F7EF56 #56F7EF
tetradic
#EF56F7 #F79F56 #5EF756 #56AEF7
square
#EF56F7 #F79F56 #5EF756 #56AEF7
split-complementary
#EF56F7 #AEF756 #56F79F
monochromatic
#C00AC9 #E91CF4 #EF56F7 #F590FA #FACBFD

Accessibility & contrast

On white

2.86
#EF56F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#EF56F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF56F7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF56F7#FFFFFF#000000##000000
##EF56F71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#F56EA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ef56f7;
/* rgb */ color: rgb(239, 86, 247);
/* oklch */ color: oklch(71.5% 0.257 325.8);
Tailwind
colors: {
  custom: {
    50: '#f891fa',
    500: '#ef56f7',
    950: '#000000',
  },
}
SCSS
$custom: #ef56f7;
$custom-light: #f891fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ef56f7",
  "rgb": {
    "r": 239,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 297.019,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.71533,
    "c": 0.25693,
    "h": 325.8
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#EF56F7
secondary
#BCF0B9
accent
#E6000B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EF56F7

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

Preview Lab → · Contrast checker → · Palette generator →

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