#FB50EB#FB50EB

#FB50EB is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 72.0% C 0.261 H 332.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#FB50EB
RGBrgb(251, 80, 235)
HSLhsl(306, 96%, 65%)
HSVhsv(306, 68%, 98%)
CMYKcmyk(0%, 68.1%, 6.4%, 1.6%)
CIE-LABlab(63.55, 80.36, -44.64)
CIE-LCHlch(63.55, 91.92, 330.95°)
OKLaboklab(72% 0.2303 -0.1226)
OKLCHoklch(72% 0.261 332)
XYZxyz(57.6478, 32.2493, 81.7697)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB50EB #50FB60
analogous
#B650FB #FB50EB #FB5096
triadic
#FB50EB #EBFB50 #50EBFB
tetradic
#FB50EB #FBB650 #50FB60 #5096FB
square
#FB50EB #FBB650 #50FB60 #5096FB
split-complementary
#FB50EB #96FB50 #50FBB6
monochromatic
#CC05B9 #FA14E4 #FB50EB #FC8CF2 #FEC8F9

Accessibility & contrast

On white

2.82
#FB50EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#FB50EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB50EB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB50EB#FFFFFF#000000##000000
##FB50EB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#85A2E7
Tritanopia (blue-blind)
#FF6298
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fb50eb;
/* rgb */ color: rgb(251, 80, 235);
/* oklch */ color: oklch(72.0% 0.261 332.0);
Tailwind
colors: {
  custom: {
    50: '#ff8ef2',
    500: '#fb50eb',
    950: '#000000',
  },
}
SCSS
$custom: #fb50eb;
$custom-light: #ff8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb50eb",
  "rgb": {
    "r": 251,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 305.614,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.72003,
    "c": 0.26088,
    "h": 332
  },
  "luminance": 0.32245
}

Semantic roles & 50–950 ramp

primary
#FB50EB
secondary
#B6F1BC
accent
#E61500
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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