#FF51FB#FF51FB

#FF51FB is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 73.5% C 0.273 H 328.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#FF51FB
RGBrgb(255, 81, 251)
HSLhsl(301, 100%, 66%)
HSVhsv(301, 68%, 100%)
CMYKcmyk(0%, 68.2%, 1.6%, 0%)
CIE-LABlab(65.05, 83.32, -51.09)
CIE-LCHlch(65.05, 97.73, 328.48°)
OKLaboklab(73.46% 0.234 -0.1412)
OKLCHoklch(73.46% 0.273 328.9)
XYZxyz(61.5944, 34.1144, 94.5887)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51FB #51FF55
analogous
#AC51FF #FF51FB #FF51A4
triadic
#FF51FB #FBFF51 #51FBFF
tetradic
#FF51FB #FFAC51 #51FF55 #51A4FF
square
#FF51FB #FFAC51 #51FF55 #51A4FF
split-complementary
#FF51FB #A4FF51 #51FFAC
monochromatic
#D600D1 #FF14FA #FF51FB #FF8EFC #FFCBFE

Accessibility & contrast

On white

2.68
#FF51FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#FF51FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51FB
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51FB#FFFFFF#000000##000000
##FF51FB1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#FF69A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ff51fb;
/* rgb */ color: rgb(255, 81, 251);
/* oklch */ color: oklch(73.5% 0.273 328.9);
Tailwind
colors: {
  custom: {
    50: '#ff90fd',
    500: '#ff51fb',
    950: '#000000',
  },
}
SCSS
$custom: #ff51fb;
$custom-light: #ff90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51fb",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 251
  },
  "hsl": {
    "h": 301.379,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.73457,
    "c": 0.27329,
    "h": 328.9
  },
  "luminance": 0.3411
}

Semantic roles & 50–950 ramp

primary
#FF51FB
secondary
#B9F3BA
accent
#E60500
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF51FB

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

Preview Lab → · Contrast checker → · Palette generator →

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