#EF45E2#EF45E2

#EF45E2 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 68.9% C 0.260 H 331.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EF45E2
RGBrgb(239, 69, 226)
HSLhsl(305, 84%, 60%)
HSVhsv(305, 71%, 94%)
CMYKcmyk(0%, 71.1%, 5.4%, 6.3%)
CIE-LABlab(59.98, 79.99, -45.35)
CIE-LCHlch(59.98, 91.96, 330.45°)
OKLaboklab(68.93% 0.2285 -0.1249)
OKLCHoklch(68.93% 0.26 331.3)
XYZxyz(51.4522, 28.1021, 74.6511)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EF45E2 #45EF52
analogous
#A745EF #EF45E2 #EF458D
triadic
#EF45E2 #E2EF45 #45E2EF
tetradic
#EF45E2 #EFA745 #45EF52 #458DEF
square
#EF45E2 #EFA745 #45EF52 #458DEF
split-complementary
#EF45E2 #8DEF45 #45EFA7
monochromatic
#AB0F9F #E314D3 #EF45E2 #F47DEB #F9B6F4

Accessibility & contrast

On white

3.17
#EF45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EF45E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EF45E2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EF45E2#FFFFFF#000000##000000
##EF45E21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#7A99DE
Tritanopia (blue-blind)
#F9598F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ef45e2;
/* rgb */ color: rgb(239, 69, 226);
/* oklch */ color: oklch(68.9% 0.260 331.3);
Tailwind
colors: {
  custom: {
    50: '#f888eb',
    500: '#ef45e2',
    950: '#000000',
  },
}
SCSS
$custom: #ef45e2;
$custom-light: #f888eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ef45e2",
  "rgb": {
    "r": 239,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 304.588,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.68934,
    "c": 0.26034,
    "h": 331.3
  },
  "luminance": 0.28098
}

Semantic roles & 50–950 ramp

primary
#EF45E2
secondary
#A7E8AC
accent
#E11605
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #EF45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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