#EF51F2#EF51F2

#EF51F2 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.8% C 0.259 H 327.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#EF51F2
RGBrgb(239, 81, 242)
HSLhsl(299, 86%, 63%)
HSVhsv(299, 67%, 95%)
CMYKcmyk(1.2%, 66.5%, 0%, 5.1%)
CIE-LABlab(62.21, 78.44, -50.76)
CIE-LCHlch(62.21, 93.43, 327.09°)
OKLaboklab(70.8% 0.2174 -0.1406)
OKLCHoklch(70.8% 0.259 327.1)
XYZxyz(54.5652, 30.6501, 87.0293)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF51F2 #54F251
analogous
#9E51F2 #EF51F2 #F251A4
triadic
#EF51F2 #F2EF51 #51F2EF
tetradic
#EF51F2 #F29E51 #54F251 #51A4F2
square
#EF51F2 #F29E51 #54F251 #51A4F2
split-complementary
#EF51F2 #A4F251 #51F29E
monochromatic
#B70EBB #EA18EE #EF51F2 #F48AF6 #F9C3FB

Accessibility & contrast

On white

2.95
#EF51F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#EF51F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EF51F2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF51F2#FFFFFF#000000##000000
##EF51F21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F7
Deuteranopia (green-blind)
#779DEE
Tritanopia (blue-blind)
#F6699C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ef51f2;
/* rgb */ color: rgb(239, 81, 242);
/* oklch */ color: oklch(70.8% 0.259 327.1);
Tailwind
colors: {
  custom: {
    50: '#f88ef7',
    500: '#ef51f2',
    950: '#000000',
  },
}
SCSS
$custom: #ef51f2;
$custom-light: #f88ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ef51f2",
  "rgb": {
    "r": 239,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 298.882,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70799,
    "c": 0.25892,
    "h": 327.1
  },
  "luminance": 0.30646
}

Semantic roles & 50–950 ramp

primary
#EF51F2
secondary
#B4ECB3
accent
#E30307
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #EF51F2

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

Preview Lab → · Contrast checker → · Palette generator →

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