#EB78E2#EB78E2

#EB78E2 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.190 H 330.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#EB78E2
RGBrgb(235, 120, 226)
HSLhsl(305, 74%, 70%)
HSVhsv(305, 49%, 92%)
CMYKcmyk(0%, 48.9%, 3.8%, 7.8%)
CIE-LABlab(66.97, 58.29, -34.45)
CIE-LCHlch(66.97, 67.71, 329.41°)
OKLaboklab(73.92% 0.1648 -0.094)
OKLCHoklch(73.92% 0.19 330.3)
XYZxyz(54.7044, 36.5894, 76.1178)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB78E2 #78EB81
analogous
#BB78EB #EB78E2 #EB78A8
triadic
#EB78E2 #E2EB78 #78E2EB
tetradic
#EB78E2 #EBBB78 #78EB81 #78A8EB
square
#EB78E2 #EBBB78 #78EB81 #78A8EB
split-complementary
#EB78E2 #A8EB78 #78EBBB
monochromatic
#CB1EBD #E343D7 #EB78E2 #F3ADED #FBE3F9

Accessibility & contrast

On white

2.52
#EB78E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#EB78E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB78E2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB78E2#FFFFFF#000000##000000
##EB78E21.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#93A9DF
Tritanopia (blue-blind)
#F382A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #eb78e2;
/* rgb */ color: rgb(235, 120, 226);
/* oklch */ color: oklch(73.9% 0.190 330.3);
Tailwind
colors: {
  custom: {
    50: '#f4a3eb',
    500: '#eb78e2',
    950: '#000000',
  },
}
SCSS
$custom: #eb78e2;
$custom-light: #f4a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb78e2",
  "rgb": {
    "r": 235,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 304.696,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73923,
    "c": 0.18972,
    "h": 330.3
  },
  "luminance": 0.36586
}

Semantic roles & 50–950 ramp

primary
#EB78E2
secondary
#CFF0D2
accent
#D61F0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EB78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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