#FB78EC#FB78EC

#FB78EC is a light, highly saturated purple. Relative luminance 0.400; OKLCH L 76.3% C 0.208 H 331.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#FB78EC
RGBrgb(251, 120, 236)
HSLhsl(307, 94%, 73%)
HSVhsv(307, 52%, 98%)
CMYKcmyk(0%, 52.2%, 6%, 1.6%)
CIE-LABlab(69.47, 64.38, -35.93)
CIE-LCHlch(69.47, 73.73, 330.83°)
OKLaboklab(76.34% 0.1837 -0.098)
OKLCHoklch(76.34% 0.208 331.9)
XYZxyz(61.6402, 40.0023, 83.8152)
Luminance0.4000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78EC #78FB87
analogous
#C878FB #FB78EC #FB78AB
triadic
#FB78EC #ECFB78 #78ECFB
tetradic
#FB78EC #FBC878 #78FB87 #78ABFB
square
#FB78EC #FBC878 #78FB87 #78ABFB
split-complementary
#FB78EC #ABFB78 #78FBC8
monochromatic
#F107D7 #F93DE4 #FB78EC #FDB3F4 #FEE1FB

Accessibility & contrast

On white

2.33
#FB78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#FB78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78EC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78EC#FFFFFF#000000##000000
##FB78EC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#FF82A8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb78ec;
/* rgb */ color: rgb(251, 120, 236);
/* oklch */ color: oklch(76.3% 0.208 331.9);
Tailwind
colors: {
  custom: {
    50: '#ffa4f2',
    500: '#fb78ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb78ec;
$custom-light: #ffa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78ec",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 306.87,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.20823,
    "h": 331.9
  },
  "luminance": 0.39998
}

Semantic roles & 50–950 ramp

primary
#FB78EC
secondary
#D5F6D9
accent
#E61A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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