#FB78F2#FB78F2

#FB78F2 is a light, highly saturated purple. Relative luminance 0.404; OKLCH L 76.6% C 0.213 H 330.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#FB78F2
RGBrgb(251, 120, 242)
HSLhsl(304, 94%, 73%)
HSVhsv(304, 52%, 98%)
CMYKcmyk(0%, 52.2%, 3.6%, 1.6%)
CIE-LABlab(69.72, 65.36, -38.84)
CIE-LCHlch(69.72, 76.03, 329.28°)
OKLaboklab(76.61% 0.1847 -0.1063)
OKLCHoklch(76.61% 0.213 330.1)
XYZxyz(62.5266, 40.3569, 88.4835)
Luminance0.4035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78F2 #78FB81
analogous
#C278FB #FB78F2 #FB78B0
triadic
#FB78F2 #F2FB78 #78F2FB
tetradic
#FB78F2 #FBC278 #78FB81 #78B0FB
square
#FB78F2 #FBC278 #78FB81 #78B0FB
split-complementary
#FB78F2 #B0FB78 #78FBC2
monochromatic
#F107E1 #F93DEC #FB78F2 #FDB3F8 #FEE1FC

Accessibility & contrast

On white

2.32
#FB78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#FB78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78F2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78F2#FFFFFF#000000##000000
##FB78F21.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FF84AA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb78f2;
/* rgb */ color: rgb(251, 120, 242);
/* oklch */ color: oklch(76.6% 0.213 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffa4f6',
    500: '#fb78f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb78f2;
$custom-light: #ffa4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78f2",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 304.122,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76611,
    "c": 0.21309,
    "h": 330.1
  },
  "luminance": 0.40353
}

Semantic roles & 50–950 ramp

primary
#FB78F2
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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