#FB5FF5#FB5FF5

#FB5FF5 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.9% C 0.250 H 329.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#FB5FF5
RGBrgb(251, 95, 245)
HSLhsl(302, 95%, 68%)
HSVhsv(302, 62%, 98%)
CMYKcmyk(0%, 62.2%, 2.4%, 1.6%)
CIE-LABlab(65.97, 76.43, -46.36)
CIE-LCHlch(65.97, 89.39, 328.76°)
OKLaboklab(73.91% 0.2152 -0.1277)
OKLCHoklch(73.91% 0.25 329.3)
XYZxyz(60.3568, 35.2904, 90.0012)
Luminance0.3529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FF5 #5FFB65
analogous
#B35FFB #FB5FF5 #FB5FA7
triadic
#FB5FF5 #F5FB5F #5FF5FB
tetradic
#FB5FF5 #FBB35F #5FFB65 #5FA7FB
square
#FB5FF5 #FBB35F #5FFB65 #5FA7FB
split-complementary
#FB5FF5 #A7FB5F #5FFBB3
monochromatic
#DA05D2 #FA23F1 #FB5FF5 #FC9BF9 #FED6FC

Accessibility & contrast

On white

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

On black

8.06
#FB5FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FF5
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FF5#FFFFFF#000000##000000
##FB5FF51.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#FF71A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ff5;
/* rgb */ color: rgb(251, 95, 245);
/* oklch */ color: oklch(73.9% 0.250 329.3);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#fb5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ff5;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ff5",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 302.308,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73912,
    "c": 0.25026,
    "h": 329.3
  },
  "luminance": 0.35286
}

Semantic roles & 50–950 ramp

primary
#FB5FF5
secondary
#C3F3C5
accent
#E60900
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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