#FB5DFC#FB5DFC

#FB5DFC is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 74.1% C 0.258 H 327.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#FB5DFC
RGBrgb(251, 93, 252)
HSLhsl(300, 96%, 68%)
HSVhsv(300, 63%, 99%)
CMYKcmyk(0.4%, 63.1%, 0%, 1.2%)
CIE-LABlab(66.04, 78.31, -50.12)
CIE-LCHlch(66.04, 92.98, 327.38°)
OKLaboklab(74.07% 0.2178 -0.1385)
OKLCHoklch(74.07% 0.258 327.5)
XYZxyz(61.2678, 35.3703, 95.6767)
Luminance0.3537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DFC #5EFC5D
analogous
#AC5DFC #FB5DFC #FC5DAD
triadic
#FB5DFC #FCFB5D #5DFCFB
tetradic
#FB5DFC #FCAC5D #5EFC5D #5DADFC
square
#FB5DFC #FCAC5D #5EFC5D #5DADFC
split-complementary
#FB5DFC #ADFC5D #5DFCAC
monochromatic
#D904DB #FA21FB #FB5DFC #FC99FD #FED5FE

Accessibility & contrast

On white

2.60
#FB5DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#FB5DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DFC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DFC#FFFFFF#000000##000000
##FB5DFC1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#FF73A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5dfc;
/* rgb */ color: rgb(251, 93, 252);
/* oklch */ color: oklch(74.1% 0.258 327.5);
Tailwind
colors: {
  custom: {
    50: '#ff95fe',
    500: '#fb5dfc',
    950: '#000000',
  },
}
SCSS
$custom: #fb5dfc;
$custom-light: #ff95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5dfc",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 299.623,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74066,
    "c": 0.25816,
    "h": 327.5
  },
  "luminance": 0.35366
}

Semantic roles & 50–950 ramp

primary
#FB5DFC
secondary
#C2F3C2
accent
#E60001
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #FB5DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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