#FB5FF6#FB5FF6

#FB5FF6 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 74.0% C 0.251 H 329.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#FB5FF6
RGBrgb(251, 95, 246)
HSLhsl(302, 95%, 68%)
HSVhsv(302, 62%, 98%)
CMYKcmyk(0%, 62.2%, 2%, 1.6%)
CIE-LABlab(66.02, 76.59, -46.84)
CIE-LCHlch(66.02, 89.78, 328.55°)
OKLaboklab(73.96% 0.2153 -0.1291)
OKLCHoklch(73.96% 0.251 329.1)
XYZxyz(60.5098, 35.3517, 90.8074)
Luminance0.3535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FF6 #5FFB64
analogous
#B25FFB #FB5FF6 #FB5FA8
triadic
#FB5FF6 #F6FB5F #5FF6FB
tetradic
#FB5FF6 #FBB25F #5FFB64 #5FA8FB
square
#FB5FF6 #FBB25F #5FFB64 #5FA8FB
split-complementary
#FB5FF6 #A8FB5F #5FFBB2
monochromatic
#DA05D3 #FA23F3 #FB5FF6 #FC9BF9 #FED6FD

Accessibility & contrast

On white

2.60
#FB5FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#FB5FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FF6
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FF6#FFFFFF#000000##000000
##FB5FF61.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb5ff6;
/* rgb */ color: rgb(251, 95, 246);
/* oklch */ color: oklch(74.0% 0.251 329.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#fb5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ff6;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ff6",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 301.923,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.25104,
    "h": 329.1
  },
  "luminance": 0.35347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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