#FB5EFB#FB5EFB

#FB5EFB is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 74.1% C 0.256 H 327.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#FB5EFB
RGBrgb(251, 94, 251)
HSLhsl(300, 95%, 68%)
HSVhsv(300, 63%, 98%)
CMYKcmyk(0%, 62.5%, 0%, 1.6%)
CIE-LABlab(66.12, 77.77, -49.43)
CIE-LCHlch(66.12, 92.15, 327.56°)
OKLaboklab(74.11% 0.2167 -0.1366)
OKLCHoklch(74.11% 0.256 327.8)
XYZxyz(61.1981, 35.4838, 94.8738)
Luminance0.3548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EFB #5EFB5E
analogous
#AC5EFB #FB5EFB #FB5EAC
triadic
#FB5EFB #FBFB5E #5EFBFB
tetradic
#FB5EFB #FBAC5E #5EFB5E #5EACFB
square
#FB5EFB #FBAC5E #5EFB5E #5EACFB
split-complementary
#FB5EFB #ACFB5E #5EFBAC
monochromatic
#D905D9 #FA22FA #FB5EFB #FC9AFC #FED5FE

Accessibility & contrast

On white

2.59
#FB5EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#FB5EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EFB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EFB#FFFFFF#000000##000000
##FB5EFB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#FF73A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb5efb;
/* rgb */ color: rgb(251, 94, 251);
/* oklch */ color: oklch(74.1% 0.256 327.8);
Tailwind
colors: {
  custom: {
    50: '#ff96fd',
    500: '#fb5efb',
    950: '#000000',
  },
}
SCSS
$custom: #fb5efb;
$custom-light: #ff96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5efb",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74114,
    "c": 0.25615,
    "h": 327.8
  },
  "luminance": 0.3548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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