#FB84EC#FB84EC

#FB84EC is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.9% C 0.190 H 332.1°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#FB84EC
RGBrgb(251, 132, 236)
HSLhsl(308, 94%, 75%)
HSVhsv(308, 47%, 98%)
CMYKcmyk(0%, 47.4%, 6%, 1.6%)
CIE-LABlab(71.60, 58.75, -32.63)
CIE-LCHlch(71.60, 67.20, 330.96°)
OKLaboklab(77.92% 0.1676 -0.0887)
OKLCHoklch(77.92% 0.19 332.1)
XYZxyz(63.1749, 43.0717, 84.3268)
Luminance0.4307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB84EC #84FB93
analogous
#CE84FB #FB84EC #FB84B0
triadic
#FB84EC #ECFB84 #84ECFB
tetradic
#FB84EC #FBCE84 #84FB93 #84B0FB
square
#FB84EC #FBCE84 #84FB93 #84B0FB
split-complementary
#FB84EC #B0FB84 #84FBCE
monochromatic
#F70DDA #F949E3 #FB84EC #FDBFF5 #FEE1FA

Accessibility & contrast

On white

2.18
#FB84EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#FB84EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB84EC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB84EC#FFFFFF#000000##000000
##FB84EC1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5F0
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#FF8CAD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb84ec;
/* rgb */ color: rgb(251, 132, 236);
/* oklch */ color: oklch(77.9% 0.190 332.1);
Tailwind
colors: {
  custom: {
    50: '#ffabf2',
    500: '#fb84ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb84ec;
$custom-light: #ffabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb84ec",
  "rgb": {
    "r": 251,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 307.563,
    "s": 93.701,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77922,
    "c": 0.18958,
    "h": 332.1
  },
  "luminance": 0.43068
}

Semantic roles & 50–950 ramp

primary
#FB84EC
secondary
#D5F6D9
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB84EC

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

Preview Lab → · Contrast checker → · Palette generator →

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