#EB78EB#EB78EB

#EB78EB is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.3% C 0.197 H 327.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EB78EB
RGBrgb(235, 120, 235)
HSLhsl(300, 74%, 70%)
HSVhsv(300, 49%, 92%)
CMYKcmyk(0%, 48.9%, 0%, 7.8%)
CIE-LABlab(67.35, 59.83, -38.84)
CIE-LCHlch(67.35, 71.33, 327.01°)
OKLaboklab(74.33% 0.1663 -0.1066)
OKLCHoklch(74.33% 0.197 327.3)
XYZxyz(55.9719, 37.0963, 82.7933)
Luminance0.3709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB78EB #78EB78
analogous
#B278EB #EB78EB #EB78B2
triadic
#EB78EB #EBEB78 #78EBEB
tetradic
#EB78EB #EBB278 #78EB78 #78B2EB
square
#EB78EB #EBB278 #78EB78 #78B2EB
split-complementary
#EB78EB #B2EB78 #78EBB2
monochromatic
#CB1ECB #E343E3 #EB78EB #F3ADF3 #FBE3FB

Accessibility & contrast

On white

2.49
#EB78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EB78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB78EB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB78EB#FFFFFF#000000##000000
##EB78EB1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#90A9E8
Tritanopia (blue-blind)
#F184A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #eb78eb;
/* rgb */ color: rgb(235, 120, 235);
/* oklch */ color: oklch(74.3% 0.197 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4a3f2',
    500: '#eb78eb',
    950: '#000000',
  },
}
SCSS
$custom: #eb78eb;
$custom-light: #f4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb78eb",
  "rgb": {
    "r": 235,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.19749,
    "h": 327.3
  },
  "luminance": 0.37093
}

Semantic roles & 50–950 ramp

primary
#EB78EB
secondary
#CFF0CF
accent
#D60F0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EB78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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