#FB5EF9#FB5EF9

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

Color values

HEX#FB5EF9
RGBrgb(251, 94, 249)
HSLhsl(301, 95%, 68%)
HSVhsv(301, 63%, 98%)
CMYKcmyk(0%, 62.5%, 0.8%, 1.6%)
CIE-LABlab(66.03, 77.45, -48.49)
CIE-LCHlch(66.03, 91.38, 327.95°)
OKLaboklab(74.01% 0.2166 -0.1338)
OKLCHoklch(74.01% 0.255 328.3)
XYZxyz(60.8845, 35.3583, 93.2222)
Luminance0.3535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EF9 #5EFB60
analogous
#AE5EFB #FB5EF9 #FB5EAB
triadic
#FB5EF9 #F9FB5E #5EF9FB
tetradic
#FB5EF9 #FBAE5E #5EFB60 #5EABFB
square
#FB5EF9 #FBAE5E #5EFB60 #5EABFB
split-complementary
#FB5EF9 #ABFB5E #5EFBAE
monochromatic
#D905D7 #FA22F7 #FB5EF9 #FC9AFB #FED5FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB5EF9#FFFFFF#000000##000000
##FB5EF91.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)
#4B93FE
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#FF72A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ef9;
/* rgb */ color: rgb(251, 94, 249);
/* oklch */ color: oklch(74.0% 0.255 328.3);
Tailwind
colors: {
  custom: {
    50: '#ff96fc',
    500: '#fb5ef9',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ef9;
$custom-light: #ff96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ef9",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 249
  },
  "hsl": {
    "h": 300.764,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74012,
    "c": 0.2546,
    "h": 328.3
  },
  "luminance": 0.35354
}

Semantic roles & 50–950 ramp

primary
#FB5EF9
secondary
#C2F3C3
accent
#E60300
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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