#FB5FF2#FB5FF2

#FB5FF2 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.8% C 0.248 H 330.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#FB5FF2
RGBrgb(251, 95, 242)
HSLhsl(303, 95%, 68%)
HSVhsv(303, 62%, 98%)
CMYKcmyk(0%, 62.2%, 3.6%, 1.6%)
CIE-LABlab(65.83, 75.96, -44.93)
CIE-LCHlch(65.83, 88.25, 329.40°)
OKLaboklab(73.76% 0.215 -0.1236)
OKLCHoklch(73.76% 0.248 330.1)
XYZxyz(59.9025, 35.1087, 87.6088)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FF2 #5FFB68
analogous
#B65FFB #FB5FF2 #FB5FA4
triadic
#FB5FF2 #F2FB5F #5FF2FB
tetradic
#FB5FF2 #FBB65F #5FFB68 #5FA4FB
square
#FB5FF2 #FBB65F #5FFB68 #5FA4FB
split-complementary
#FB5FF2 #A4FB5F #5FFBB6
monochromatic
#DA05CE #FA23ED #FB5FF2 #FC9BF7 #FED6FC

Accessibility & contrast

On white

2.62
#FB5FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#FB5FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FF2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FF2#FFFFFF#000000##000000
##FB5FF21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#FF70A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ff2;
/* rgb */ color: rgb(251, 95, 242);
/* oklch */ color: oklch(73.8% 0.248 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f7',
    500: '#fb5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ff2;
$custom-light: #ff96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ff2",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 303.462,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73764,
    "c": 0.24798,
    "h": 330.1
  },
  "luminance": 0.35104
}

Semantic roles & 50–950 ramp

primary
#FB5FF2
secondary
#C3F3C6
accent
#E60D00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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