#FB78FB#FB78FB

#FB78FB is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 77.0% C 0.221 H 327.5°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FB78FB
RGBrgb(251, 120, 251)
HSLhsl(300, 94%, 73%)
HSVhsv(300, 52%, 98%)
CMYKcmyk(0%, 52.2%, 0%, 1.6%)
CIE-LABlab(70.11, 66.86, -43.16)
CIE-LCHlch(70.11, 79.58, 327.16°)
OKLaboklab(77.03% 0.1859 -0.1187)
OKLCHoklch(77.03% 0.221 327.5)
XYZxyz(63.9117, 40.9109, 95.7783)
Luminance0.4091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78FB #78FB78
analogous
#B978FB #FB78FB #FB78B9
triadic
#FB78FB #FBFB78 #78FBFB
tetradic
#FB78FB #FBB978 #78FB78 #78B9FB
square
#FB78FB #FBB978 #78FB78 #78B9FB
split-complementary
#FB78FB #B9FB78 #78FBB9
monochromatic
#F107F1 #F93DF9 #FB78FB #FDB3FD #FEE1FE

Accessibility & contrast

On white

2.29
#FB78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FB78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78FB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78FB#FFFFFF#000000##000000
##FB78FB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FF
Deuteranopia (green-blind)
#94B1F7
Tritanopia (blue-blind)
#FF87AF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb78fb;
/* rgb */ color: rgb(251, 120, 251);
/* oklch */ color: oklch(77.0% 0.221 327.5);
Tailwind
colors: {
  custom: {
    50: '#ffa4fd',
    500: '#fb78fb',
    950: '#000000',
  },
}
SCSS
$custom: #fb78fb;
$custom-light: #ffa4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78fb",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.22058,
    "h": 327.5
  },
  "luminance": 0.40907
}

Semantic roles & 50–950 ramp

primary
#FB78FB
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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