#FB5FF7#FB5FF7

#FB5FF7 is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 74.0% C 0.252 H 328.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#FB5FF7
RGBrgb(251, 95, 247)
HSLhsl(302, 95%, 68%)
HSVhsv(302, 62%, 98%)
CMYKcmyk(0%, 62.2%, 1.6%, 1.6%)
CIE-LABlab(66.07, 76.75, -47.32)
CIE-LCHlch(66.07, 90.16, 328.35°)
OKLaboklab(74.01% 0.2154 -0.1304)
OKLCHoklch(74.01% 0.252 328.8)
XYZxyz(60.6637, 35.4132, 91.6179)
Luminance0.3541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FF7 #5FFB63
analogous
#B15FFB #FB5FF7 #FB5FA9
triadic
#FB5FF7 #F7FB5F #5FF7FB
tetradic
#FB5FF7 #FBB15F #5FFB63 #5FA9FB
square
#FB5FF7 #FBB15F #5FFB63 #5FA9FB
split-complementary
#FB5FF7 #A9FB5F #5FFBB1
monochromatic
#DA05D5 #FA23F4 #FB5FF7 #FC9BFA #FED6FD

Accessibility & contrast

On white

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

On black

8.08
#FB5FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FF7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FF7#FFFFFF#000000##000000
##FB5FF71.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FC
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#FF72A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb5ff7;
/* rgb */ color: rgb(251, 95, 247);
/* oklch */ color: oklch(74.0% 0.252 328.8);
Tailwind
colors: {
  custom: {
    50: '#ff96fa',
    500: '#fb5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ff7;
$custom-light: #ff96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ff7",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 301.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.74012,
    "c": 0.2518,
    "h": 328.8
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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