#FB78E8#FB78E8

#FB78E8 is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.205 H 333.2°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#FB78E8
RGBrgb(251, 120, 232)
HSLhsl(309, 94%, 73%)
HSVhsv(309, 52%, 98%)
CMYKcmyk(0%, 52.2%, 7.6%, 1.6%)
CIE-LABlab(69.31, 63.74, -33.98)
CIE-LCHlch(69.31, 72.23, 331.94°)
OKLaboklab(76.17% 0.1831 -0.0924)
OKLCHoklch(76.17% 0.205 333.2)
XYZxyz(61.0656, 39.7725, 80.7888)
Luminance0.3977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78E8 #78FB8B
analogous
#CC78FB #FB78E8 #FB78A7
triadic
#FB78E8 #E8FB78 #78E8FB
tetradic
#FB78E8 #FBCC78 #78FB8B #78A7FB
square
#FB78E8 #FBCC78 #78FB8B #78A7FB
split-complementary
#FB78E8 #A7FB78 #78FBCC
monochromatic
#F107CF #F93DDE #FB78E8 #FDB3F2 #FEE1FA

Accessibility & contrast

On white

2.35
#FB78E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#FB78E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78E8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78E8#FFFFFF#000000##000000
##FB78E81.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759DEC
Deuteranopia (green-blind)
#9CB0E4
Tritanopia (blue-blind)
#FF81A6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb78e8;
/* rgb */ color: rgb(251, 120, 232);
/* oklch */ color: oklch(76.2% 0.205 333.2);
Tailwind
colors: {
  custom: {
    50: '#ffa4ef',
    500: '#fb78e8',
    950: '#000000',
  },
}
SCSS
$custom: #fb78e8;
$custom-light: #ffa4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78e8",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 308.702,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76168,
    "c": 0.20507,
    "h": 333.2
  },
  "luminance": 0.39768
}

Semantic roles & 50–950 ramp

primary
#FB78E8
secondary
#D5F6DA
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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