#FB78FC#FB78FC

#FB78FC is a light, highly saturated purple. Relative luminance 0.410; OKLCH L 77.1% C 0.221 H 327.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#FB78FC
RGBrgb(251, 120, 252)
HSLhsl(300, 96%, 73%)
HSVhsv(300, 52%, 99%)
CMYKcmyk(0.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(70.16, 67.03, -43.64)
CIE-LCHlch(70.16, 79.99, 326.94°)
OKLaboklab(77.07% 0.1861 -0.12)
OKLCHoklch(77.07% 0.221 327.2)
XYZxyz(64.0697, 40.9741, 96.6107)
Luminance0.4097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB78FC #79FC78
analogous
#B978FC #FB78FC #FC78BB
triadic
#FB78FC #FCFB78 #78FCFB
tetradic
#FB78FC #FCB978 #79FC78 #78BBFC
square
#FB78FC #FCB978 #79FC78 #78BBFC
split-complementary
#FB78FC #BBFC78 #78FCB9
monochromatic
#F205F4 #F93CFB #FB78FC #FDB4FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.19
#FB78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB78FC
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB78FC#FFFFFF#000000##000000
##FB78FC1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb78fc;
/* rgb */ color: rgb(251, 120, 252);
/* oklch */ color: oklch(77.1% 0.221 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffa4fe',
    500: '#fb78fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb78fc;
$custom-light: #ffa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb78fc",
  "rgb": {
    "r": 251,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 299.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.77073,
    "c": 0.22142,
    "h": 327.2
  },
  "luminance": 0.4097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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