#FB79FC#FB79FC

#FB79FC is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.2% C 0.220 H 327.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#FB79FC
RGBrgb(251, 121, 252)
HSLhsl(300, 96%, 73%)
HSVhsv(300, 52%, 99%)
CMYKcmyk(0.4%, 52%, 0%, 1.2%)
CIE-LABlab(70.33, 66.58, -43.37)
CIE-LCHlch(70.33, 79.46, 326.92°)
OKLaboklab(77.2% 0.1848 -0.1193)
OKLCHoklch(77.2% 0.22 327.2)
XYZxyz(64.1906, 41.2159, 96.6510)
Luminance0.4121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB79FC #7AFC79
analogous
#B979FC #FB79FC #FC79BB
triadic
#FB79FC #FCFB79 #79FCFB
tetradic
#FB79FC #FCB979 #7AFC79 #79BBFC
square
#FB79FC #FCB979 #7AFC79 #79BBFC
split-complementary
#FB79FC #BBFC79 #79FCB9
monochromatic
#F305F5 #F93DFB #FB79FC #FDB5FD #FEE1FE

Accessibility & contrast

On white

2.27
#FB79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#FB79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB79FC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB79FC#FFFFFF#000000##000000
##FB79FC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#FF88B0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb79fc;
/* rgb */ color: rgb(251, 121, 252);
/* oklch */ color: oklch(77.2% 0.220 327.2);
Tailwind
colors: {
  custom: {
    50: '#ffa5fe',
    500: '#fb79fc',
    950: '#000000',
  },
}
SCSS
$custom: #fb79fc;
$custom-light: #ffa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb79fc",
  "rgb": {
    "r": 251,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 299.542,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.77197,
    "c": 0.21994,
    "h": 327.2
  },
  "luminance": 0.41212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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