#FB5EF4#FB5EF4

#FB5EF4 is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.8% C 0.251 H 329.6°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#FB5EF4
RGBrgb(251, 94, 244)
HSLhsl(303, 95%, 68%)
HSVhsv(303, 63%, 98%)
CMYKcmyk(0%, 62.5%, 2.8%, 1.6%)
CIE-LABlab(65.79, 76.66, -46.10)
CIE-LCHlch(65.79, 89.45, 328.98°)
OKLaboklab(73.76% 0.2163 -0.1269)
OKLCHoklch(73.76% 0.251 329.6)
XYZxyz(60.1150, 35.0505, 89.1696)
Luminance0.3505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EF4 #5EFB65
analogous
#B35EFB #FB5EF4 #FB5EA6
triadic
#FB5EF4 #F4FB5E #5EF4FB
tetradic
#FB5EF4 #FBB35E #5EFB65 #5EA6FB
square
#FB5EF4 #FBB35E #5EFB65 #5EA6FB
split-complementary
#FB5EF4 #A6FB5E #5EFBB3
monochromatic
#D905D0 #FA22F0 #FB5EF4 #FC9AF8 #FED5FC

Accessibility & contrast

On white

2.62
#FB5EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#FB5EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EF4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EF4#FFFFFF#000000##000000
##FB5EF41.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#88A7F0
Tritanopia (blue-blind)
#FF70A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ef4;
/* rgb */ color: rgb(251, 94, 244);
/* oklch */ color: oklch(73.8% 0.251 329.6);
Tailwind
colors: {
  custom: {
    50: '#ff96f8',
    500: '#fb5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ef4;
$custom-light: #ff96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ef4",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 302.675,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73762,
    "c": 0.25077,
    "h": 329.6
  },
  "luminance": 0.35046
}

Semantic roles & 50–950 ramp

primary
#FB5EF4
secondary
#C2F3C4
accent
#E60A00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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