#FF5BF1#FF5BF1

#FF5BF1 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.9% C 0.254 H 331.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#FF5BF1
RGBrgb(255, 91, 241)
HSLhsl(305, 100%, 68%)
HSVhsv(305, 64%, 100%)
CMYKcmyk(0%, 64.3%, 5.5%, 0%)
CIE-LABlab(65.82, 78.26, -44.35)
CIE-LCHlch(65.82, 89.95, 330.46°)
OKLaboklab(73.86% 0.2234 -0.1218)
OKLCHoklch(73.86% 0.254 331.4)
XYZxyz(60.8582, 35.0976, 86.7712)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5BF1 #5BFF69
analogous
#BB5BFF #FF5BF1 #FF5B9F
triadic
#FF5BF1 #F1FF5B #5BF1FF
tetradic
#FF5BF1 #FFBB5B #5BFF69 #5B9FFF
square
#FF5BF1 #FFBB5B #5BFF69 #5B9FFF
split-complementary
#FF5BF1 #9FFF5B #5BFFBB
monochromatic
#E000CD #FF1EEC #FF5BF1 #FF98F6 #FFD5FB

Accessibility & contrast

On white

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

On black

8.02
#FF5BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5BF1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5BF1#FFFFFF#000000##000000
##FF5BF11.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#FF6C9F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5bf1;
/* rgb */ color: rgb(255, 91, 241);
/* oklch */ color: oklch(73.9% 0.254 331.4);
Tailwind
colors: {
  custom: {
    50: '#ff94f6',
    500: '#ff5bf1',
    950: '#000000',
  },
}
SCSS
$custom: #ff5bf1;
$custom-light: #ff94f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5bf1",
  "rgb": {
    "r": 255,
    "g": 91,
    "b": 241
  },
  "hsl": {
    "h": 305.122,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.2544,
    "h": 331.4
  },
  "luminance": 0.35093
}

Semantic roles & 50–950 ramp

primary
#FF5BF1
secondary
#C2F4C6
accent
#E61400
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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