#FF5BF5#FF5BF5

#FF5BF5 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 74.1% C 0.257 H 330.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#FF5BF5
RGBrgb(255, 91, 245)
HSLhsl(304, 100%, 68%)
HSVhsv(304, 64%, 100%)
CMYKcmyk(0%, 64.3%, 3.9%, 0%)
CIE-LABlab(66.01, 78.87, -46.26)
CIE-LCHlch(66.01, 91.44, 329.61°)
OKLaboklab(74.06% 0.2237 -0.1273)
OKLCHoklch(74.06% 0.257 330.4)
XYZxyz(61.4622, 35.3393, 89.9525)
Luminance0.3533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5BF5 #5BFF65
analogous
#B75BFF #FF5BF5 #FF5BA3
triadic
#FF5BF5 #F5FF5B #5BF5FF
tetradic
#FF5BF5 #FFB75B #5BFF65 #5BA3FF
square
#FF5BF5 #FFB75B #5BFF65 #5BA3FF
split-complementary
#FF5BF5 #A3FF5B #5BFFB7
monochromatic
#E000D2 #FF1EF1 #FF5BF5 #FF98F9 #FFD5FC

Accessibility & contrast

On white

2.60
#FF5BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#FF5BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5BF5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5BF5#FFFFFF#000000##000000
##FF5BF51.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92FA
Deuteranopia (green-blind)
#89A8F1
Tritanopia (blue-blind)
#FF6DA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5bf5;
/* rgb */ color: rgb(255, 91, 245);
/* oklch */ color: oklch(74.1% 0.257 330.4);
Tailwind
colors: {
  custom: {
    50: '#ff94f9',
    500: '#ff5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ff5bf5;
$custom-light: #ff94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5bf5",
  "rgb": {
    "r": 255,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 303.659,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74055,
    "c": 0.25735,
    "h": 330.4
  },
  "luminance": 0.35335
}

Semantic roles & 50–950 ramp

primary
#FF5BF5
secondary
#C2F4C5
accent
#E60E00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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