#FB5BEF#FB5BEF

#FB5BEF is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 73.2% C 0.251 H 330.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#FB5BEF
RGBrgb(251, 91, 239)
HSLhsl(305, 95%, 67%)
HSVhsv(305, 64%, 98%)
CMYKcmyk(0%, 63.7%, 4.8%, 1.6%)
CIE-LABlab(65.14, 77.02, -44.35)
CIE-LCHlch(65.14, 88.88, 330.06°)
OKLaboklab(73.22% 0.2192 -0.1219)
OKLCHoklch(73.22% 0.251 330.9)
XYZxyz(59.1045, 34.2278, 85.1382)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5BEF #5BFB67
analogous
#B75BFB #FB5BEF #FB5B9F
triadic
#FB5BEF #EFFB5B #5BEFFB
tetradic
#FB5BEF #FBB75B #5BFB67 #5B9FFB
square
#FB5BEF #FBB75B #5BFB67 #5B9FFB
split-complementary
#FB5BEF #9FFB5B #5BFBB7
monochromatic
#D605C7 #FA1FE9 #FB5BEF #FC97F5 #FED2FB

Accessibility & contrast

On white

2.68
#FB5BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#FB5BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5BEF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5BEF#FFFFFF#000000##000000
##FB5BEF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#FF6C9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5bef;
/* rgb */ color: rgb(251, 91, 239);
/* oklch */ color: oklch(73.2% 0.251 330.9);
Tailwind
colors: {
  custom: {
    50: '#ff94f5',
    500: '#fb5bef',
    950: '#000000',
  },
}
SCSS
$custom: #fb5bef;
$custom-light: #ff94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5bef",
  "rgb": {
    "r": 251,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 304.5,
    "s": 95.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73218,
    "c": 0.25076,
    "h": 330.9
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#FB5BEF
secondary
#C0F2C3
accent
#E61100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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