#FB5EF6#FB5EF6

#FB5EF6 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.9% C 0.252 H 329.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#FB5EF6
RGBrgb(251, 94, 246)
HSLhsl(302, 95%, 68%)
HSVhsv(302, 63%, 98%)
CMYKcmyk(0%, 62.5%, 2%, 1.6%)
CIE-LABlab(65.88, 76.97, -47.06)
CIE-LCHlch(65.88, 90.22, 328.56°)
OKLaboklab(73.86% 0.2164 -0.1297)
OKLCHoklch(73.86% 0.252 329.1)
XYZxyz(60.4203, 35.1727, 90.7776)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EF6 #5EFB63
analogous
#B25EFB #FB5EF6 #FB5EA7
triadic
#FB5EF6 #F6FB5E #5EF6FB
tetradic
#FB5EF6 #FBB25E #5EFB63 #5EA7FB
square
#FB5EF6 #FBB25E #5EFB63 #5EA7FB
split-complementary
#FB5EF6 #A7FB5E #5EFBB2
monochromatic
#D905D2 #FA22F3 #FB5EF6 #FC9AF9 #FED5FD

Accessibility & contrast

On white

2.61
#FB5EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#FB5EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EF6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EF6#FFFFFF#000000##000000
##FB5EF61.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#87A8F2
Tritanopia (blue-blind)
#FF71A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ef6;
/* rgb */ color: rgb(251, 94, 246);
/* oklch */ color: oklch(73.9% 0.252 329.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#fb5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ef6;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ef6",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 301.911,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73862,
    "c": 0.25229,
    "h": 329.1
  },
  "luminance": 0.35168
}

Semantic roles & 50–950 ramp

primary
#FB5EF6
secondary
#C2F3C4
accent
#E60700
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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