#FF51FE#FF51FE

#FF51FE is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 73.6% C 0.275 H 328.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#FF51FE
RGBrgb(255, 81, 254)
HSLhsl(300, 100%, 66%)
HSVhsv(300, 68%, 100%)
CMYKcmyk(0%, 68.2%, 0.4%, 0%)
CIE-LABlab(65.20, 83.78, -52.50)
CIE-LCHlch(65.20, 98.87, 327.93°)
OKLaboklab(73.61% 0.2341 -0.1453)
OKLCHoklch(73.61% 0.275 328.2)
XYZxyz(62.0711, 34.3050, 97.0990)
Luminance0.3430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51FE #51FF52
analogous
#A951FF #FF51FE #FF51A7
triadic
#FF51FE #FEFF51 #51FEFF
tetradic
#FF51FE #FFA951 #51FF52 #51A7FF
square
#FF51FE #FFA951 #51FF52 #51A7FF
split-complementary
#FF51FE #A7FF51 #51FFA9
monochromatic
#D600D4 #FF14FE #FF51FE #FF8EFE #FFCBFF

Accessibility & contrast

On white

2.67
#FF51FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#FF51FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51FE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51FE#FFFFFF#000000##000000
##FF51FE1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#FF6AA2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ff51fe;
/* rgb */ color: rgb(255, 81, 254);
/* oklch */ color: oklch(73.6% 0.275 328.2);
Tailwind
colors: {
  custom: {
    50: '#ff90ff',
    500: '#ff51fe',
    950: '#000000',
  },
}
SCSS
$custom: #ff51fe;
$custom-light: #ff90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51fe",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 254
  },
  "hsl": {
    "h": 300.345,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.73614,
    "c": 0.27549,
    "h": 328.2
  },
  "luminance": 0.34301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF51FE

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

Preview Lab → · Contrast checker → · Palette generator →

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