#FB51FF#FB51FF

#FB51FF is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 73.1% C 0.274 H 327.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#FB51FF
RGBrgb(251, 81, 255)
HSLhsl(299, 100%, 66%)
HSVhsv(299, 68%, 100%)
CMYKcmyk(1.6%, 68.2%, 0%, 0%)
CIE-LABlab(64.66, 83.09, -53.95)
CIE-LCHlch(64.66, 99.07, 327.00°)
OKLaboklab(73.12% 0.23 -0.1496)
OKLCHoklch(73.12% 0.274 327)
XYZxyz(60.7751, 33.6182, 97.8763)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB51FF #55FF51
analogous
#A451FF #FB51FF #FF51AC
triadic
#FB51FF #FFFB51 #51FFFB
tetradic
#FB51FF #FFA451 #55FF51 #51ACFF
square
#FB51FF #FFA451 #55FF51 #51ACFF
split-complementary
#FB51FF #ACFF51 #51FFA4
monochromatic
#D100D6 #FA14FF #FB51FF #FC8EFF #FECBFF

Accessibility & contrast

On white

2.72
#FB51FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#FB51FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB51FF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB51FF#FFFFFF#000000##000000
##FB51FF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8FFF
Deuteranopia (green-blind)
#7BA4FB
Tritanopia (blue-blind)
#FF6CA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb51ff;
/* rgb */ color: rgb(251, 81, 255);
/* oklch */ color: oklch(73.1% 0.274 327.0);
Tailwind
colors: {
  custom: {
    50: '#ff90ff',
    500: '#fb51ff',
    950: '#000000',
  },
}
SCSS
$custom: #fb51ff;
$custom-light: #ff90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb51ff",
  "rgb": {
    "r": 251,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 298.621,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.73123,
    "c": 0.27437,
    "h": 327
  },
  "luminance": 0.33614
}

Semantic roles & 50–950 ramp

primary
#FB51FF
secondary
#BAF3B9
accent
#E60005
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FB51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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