#FB5EF1#FB5EF1

#FB5EF1 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.6% C 0.248 H 330.4°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#FB5EF1
RGBrgb(251, 94, 241)
HSLhsl(304, 95%, 68%)
HSVhsv(304, 63%, 98%)
CMYKcmyk(0%, 62.5%, 4%, 1.6%)
CIE-LABlab(65.65, 76.19, -44.67)
CIE-LCHlch(65.65, 88.32, 329.62°)
OKLaboklab(73.61% 0.216 -0.1228)
OKLCHoklch(73.61% 0.248 330.4)
XYZxyz(59.6632, 34.8698, 86.7901)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EF1 #5EFB68
analogous
#B75EFB #FB5EF1 #FB5EA2
triadic
#FB5EF1 #F1FB5E #5EF1FB
tetradic
#FB5EF1 #FBB75E #5EFB68 #5EA2FB
square
#FB5EF1 #FBB75E #5EFB68 #5EA2FB
split-complementary
#FB5EF1 #A2FB5E #5EFBB7
monochromatic
#D905CC #FA22EC #FB5EF1 #FC9AF6 #FED5FB

Accessibility & contrast

On white

2.63
#FB5EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#FB5EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EF1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EF1#FFFFFF#000000##000000
##FB5EF11.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F5
Deuteranopia (green-blind)
#89A7ED
Tritanopia (blue-blind)
#FF6FA0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fb5ef1;
/* rgb */ color: rgb(251, 94, 241);
/* oklch */ color: oklch(73.6% 0.248 330.4);
Tailwind
colors: {
  custom: {
    50: '#ff96f6',
    500: '#fb5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ef1;
$custom-light: #ff96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ef1",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 303.822,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73614,
    "c": 0.24849,
    "h": 330.4
  },
  "luminance": 0.34866
}

Semantic roles & 50–950 ramp

primary
#FB5EF1
secondary
#C2F3C5
accent
#E60F00
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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