#FB50E7#FB50E7

#FB50E7 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.8% C 0.258 H 333.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#FB50E7
RGBrgb(251, 80, 231)
HSLhsl(307, 96%, 65%)
HSVhsv(307, 68%, 98%)
CMYKcmyk(0%, 68.1%, 8%, 1.6%)
CIE-LABlab(63.36, 79.77, -42.71)
CIE-LCHlch(63.36, 90.48, 331.84°)
OKLaboklab(71.81% 0.23 -0.117)
OKLCHoklch(71.81% 0.258 333)
XYZxyz(57.0764, 32.0207, 78.7603)
Luminance0.3202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB50E7 #50FB64
analogous
#BA50FB #FB50E7 #FB5091
triadic
#FB50E7 #E7FB50 #50E7FB
tetradic
#FB50E7 #FBBA50 #50FB64 #5091FB
square
#FB50E7 #FBBA50 #50FB64 #5091FB
split-complementary
#FB50E7 #91FB50 #50FBBA
monochromatic
#CC05B5 #FA14DF #FB50E7 #FC8CEF #FEC8F7

Accessibility & contrast

On white

2.84
#FB50E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#FB50E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB50E7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB50E7#FFFFFF#000000##000000
##FB50E71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#87A2E3
Tritanopia (blue-blind)
#FF6096
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fb50e7;
/* rgb */ color: rgb(251, 80, 231);
/* oklch */ color: oklch(71.8% 0.258 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff8eef',
    500: '#fb50e7',
    950: '#000000',
  },
}
SCSS
$custom: #fb50e7;
$custom-light: #ff8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#fb50e7",
  "rgb": {
    "r": 251,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 307.018,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.71806,
    "c": 0.25806,
    "h": 333
  },
  "luminance": 0.32016
}

Semantic roles & 50–950 ramp

primary
#FB50E7
secondary
#B6F1BD
accent
#E61B00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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