#FF5BFE#FF5BFE

#FF5BFE is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.5% C 0.264 H 328.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#FF5BFE
RGBrgb(255, 91, 254)
HSLhsl(300, 100%, 68%)
HSVhsv(300, 64%, 100%)
CMYKcmyk(0%, 64.3%, 0.4%, 0%)
CIE-LABlab(66.45, 80.28, -50.54)
CIE-LCHlch(66.45, 94.86, 327.81°)
OKLaboklab(74.51% 0.2242 -0.1396)
OKLCHoklch(74.51% 0.264 328.1)
XYZxyz(62.8697, 35.9022, 97.3652)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5BFE #5BFF5C
analogous
#AE5BFF #FF5BFE #FF5BAC
triadic
#FF5BFE #FEFF5B #5BFEFF
tetradic
#FF5BFE #FFAE5B #5BFF5C #5BACFF
square
#FF5BFE #FFAE5B #5BFF5C #5BACFF
split-complementary
#FF5BFE #ACFF5B #5BFFAE
monochromatic
#E000DE #FF1EFE #FF5BFE #FF98FE #FFD5FF

Accessibility & contrast

On white

2.57
#FF5BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#FF5BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5BFE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5BFE#FFFFFF#000000##000000
##FF5BFE1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#FF71A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5bfe;
/* rgb */ color: rgb(255, 91, 254);
/* oklch */ color: oklch(74.5% 0.264 328.1);
Tailwind
colors: {
  custom: {
    50: '#ff95ff',
    500: '#ff5bfe',
    950: '#000000',
  },
}
SCSS
$custom: #ff5bfe;
$custom-light: #ff95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5bfe",
  "rgb": {
    "r": 255,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 300.366,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74508,
    "c": 0.26411,
    "h": 328.1
  },
  "luminance": 0.35898
}

Semantic roles & 50–950 ramp

primary
#FF5BFE
secondary
#C2F4C2
accent
#E60100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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