#FB84F2#FB84F2

#FB84F2 is a light, vivid purple. Relative luminance 0.434; OKLCH L 78.2% C 0.195 H 330.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#FB84F2
RGBrgb(251, 132, 242)
HSLhsl(305, 94%, 75%)
HSVhsv(305, 47%, 98%)
CMYKcmyk(0%, 47.4%, 3.6%, 1.6%)
CIE-LABlab(71.84, 59.75, -35.54)
CIE-LCHlch(71.84, 69.52, 329.25°)
OKLaboklab(78.18% 0.1687 -0.097)
OKLCHoklch(78.18% 0.195 330.1)
XYZxyz(64.0613, 43.4263, 88.9950)
Luminance0.4342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB84F2 #84FB8D
analogous
#C984FB #FB84F2 #FB84B6
triadic
#FB84F2 #F2FB84 #84F2FB
tetradic
#FB84F2 #FBC984 #84FB8D #84B6FB
square
#FB84F2 #FBC984 #84FB8D #84B6FB
split-complementary
#FB84F2 #B6FB84 #84FBC9
monochromatic
#F70DE5 #F949EC #FB84F2 #FDBFF8 #FEE1FC

Accessibility & contrast

On white

2.17
#FB84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#FB84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB84F2
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB84F2#FFFFFF#000000##000000
##FB84F21.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#A0B6EE
Tritanopia (blue-blind)
#FF8EB0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fb84f2;
/* rgb */ color: rgb(251, 132, 242);
/* oklch */ color: oklch(78.2% 0.195 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffabf6',
    500: '#fb84f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb84f2;
$custom-light: #ffabf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb84f2",
  "rgb": {
    "r": 251,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 304.538,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.78179,
    "c": 0.19458,
    "h": 330.1
  },
  "luminance": 0.43423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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