#FB78FE#FB78FE

#FB78FE is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 77.2% C 0.223 H 326.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#FB78FE
RGBrgb(251, 120, 254)
HSLhsl(299, 99%, 73%)
HSVhsv(299, 53%, 100%)
CMYKcmyk(1.2%, 52.8%, 0%, 0.4%)
CIE-LABlab(70.25, 67.38, -44.59)
CIE-LCHlch(70.25, 80.79, 326.50°)
OKLaboklab(77.17% 0.1863 -0.1228)
OKLCHoklch(77.17% 0.223 326.6)
XYZxyz(64.3883, 41.1016, 98.2886)
Luminance0.4110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78FE #7BFE78
analogous
#B878FE #FB78FE #FE78BE
triadic
#FB78FE #FEFB78 #78FEFB
tetradic
#FB78FE #FEB878 #7BFE78 #78BEFE
square
#FB78FE #FEB878 #7BFE78 #78BEFE
split-complementary
#FB78FE #BEFE78 #78FEB8
monochromatic
#F402FA #F93BFE #FB78FE #FDB5FE #FEE1FF

Accessibility & contrast

On white

2.28
#FB78FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#FB78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78FE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78FE#FFFFFF#000000##000000
##FB78FE1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#FF88B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb78fe;
/* rgb */ color: rgb(251, 120, 254);
/* oklch */ color: oklch(77.2% 0.223 326.6);
Tailwind
colors: {
  custom: {
    50: '#ffa4ff',
    500: '#fb78fe',
    950: '#000000',
  },
}
SCSS
$custom: #fb78fe;
$custom-light: #ffa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78fe",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 298.657,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.77167,
    "c": 0.22312,
    "h": 326.6
  },
  "luminance": 0.41098
}

Semantic roles & 50–950 ramp

primary
#FB78FE
secondary
#D5F7D4
accent
#E60005
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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