#FF5DFB#FF5DFB

#FF5DFB is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.5% C 0.259 H 328.8°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#FF5DFB
RGBrgb(255, 93, 251)
HSLhsl(301, 100%, 68%)
HSVhsv(301, 64%, 100%)
CMYKcmyk(0%, 63.5%, 1.6%, 0%)
CIE-LABlab(66.56, 79.07, -48.70)
CIE-LCHlch(66.56, 92.86, 328.37°)
OKLaboklab(74.55% 0.2219 -0.1343)
OKLCHoklch(74.55% 0.259 328.8)
XYZxyz(62.5663, 36.0581, 94.9126)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DFB #5DFF61
analogous
#B25DFF #FF5DFB #FF5DAA
triadic
#FF5DFB #FBFF5D #5DFBFF
tetradic
#FF5DFB #FFB25D #5DFF61 #5DAAFF
square
#FF5DFB #FFB25D #5DFF61 #5DAAFF
split-complementary
#FF5DFB #AAFF5D #5DFFB2
monochromatic
#E200DC #FF20F9 #FF5DFB #FF9AFD #FFD7FE

Accessibility & contrast

On white

2.56
#FF5DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#FF5DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DFB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DFB#FFFFFF#000000##000000
##FF5DFB1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#FF71A4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5dfb;
/* rgb */ color: rgb(255, 93, 251);
/* oklch */ color: oklch(74.5% 0.259 328.8);
Tailwind
colors: {
  custom: {
    50: '#ff96fd',
    500: '#ff5dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff5dfb;
$custom-light: #ff96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5dfb",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 251
  },
  "hsl": {
    "h": 301.481,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74547,
    "c": 0.25941,
    "h": 328.8
  },
  "luminance": 0.36054
}

Semantic roles & 50–950 ramp

primary
#FF5DFB
secondary
#C3F4C5
accent
#E60600
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF5DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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