#FB5DEC#FB5DEC

#FB5DEC is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.3% C 0.246 H 331.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#FB5DEC
RGBrgb(251, 93, 236)
HSLhsl(306, 95%, 67%)
HSVhsv(306, 63%, 98%)
CMYKcmyk(0%, 62.9%, 6%, 1.6%)
CIE-LABlab(65.28, 75.80, -42.48)
CIE-LCHlch(65.28, 86.89, 330.73°)
OKLaboklab(73.27% 0.2167 -0.1165)
OKLCHoklch(73.27% 0.246 331.7)
XYZxyz(58.8383, 34.3985, 82.8812)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DEC #5DFB6C
analogous
#BB5DFB #FB5DEC #FB5D9D
triadic
#FB5DEC #ECFB5D #5DECFB
tetradic
#FB5DEC #FBBB5D #5DFB6C #5D9DFB
square
#FB5DEC #FBBB5D #5DFB6C #5D9DFB
split-complementary
#FB5DEC #9DFB5D #5DFBBB
monochromatic
#D805C4 #FA21E5 #FB5DEC #FC99F3 #FED4FA

Accessibility & contrast

On white

2.67
#FB5DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#FB5DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DEC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DEC#FFFFFF#000000##000000
##FB5DEC1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#8BA6E8
Tritanopia (blue-blind)
#FF6C9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5dec;
/* rgb */ color: rgb(251, 93, 236);
/* oklch */ color: oklch(73.3% 0.246 331.7);
Tailwind
colors: {
  custom: {
    50: '#ff95f2',
    500: '#fb5dec',
    950: '#000000',
  },
}
SCSS
$custom: #fb5dec;
$custom-light: #ff95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5dec",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 305.696,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7327,
    "c": 0.24603,
    "h": 331.7
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#FB5DEC
secondary
#C1F3C6
accent
#E61600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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