#FB5AFF#FB5AFF

#FB5AFF is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.9% C 0.264 H 326.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#FB5AFF
RGBrgb(251, 90, 255)
HSLhsl(299, 100%, 68%)
HSVhsv(299, 65%, 100%)
CMYKcmyk(1.6%, 64.7%, 0%, 0%)
CIE-LABlab(65.78, 79.92, -52.17)
CIE-LCHlch(65.78, 95.44, 326.86°)
OKLaboklab(73.93% 0.2211 -0.1445)
OKLCHoklch(73.93% 0.264 326.8)
XYZxyz(61.4888, 35.0456, 98.1142)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5AFF #5EFF5A
analogous
#A85AFF #FB5AFF #FF5AB1
triadic
#FB5AFF #FFFB5A #5AFFFB
tetradic
#FB5AFF #FFA85A #5EFF5A #5AB1FF
square
#FB5AFF #FFA85A #5EFF5A #5AB1FF
split-complementary
#FB5AFF #B1FF5A #5AFFA8
monochromatic
#D900DF #FA1DFF #FB5AFF #FC97FF #FED4FF

Accessibility & contrast

On white

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

On black

8.01
#FB5AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5AFF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5AFF#FFFFFF#000000##000000
##FB5AFF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F93FF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#FF72A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5aff;
/* rgb */ color: rgb(251, 90, 255);
/* oklch */ color: oklch(73.9% 0.264 326.8);
Tailwind
colors: {
  custom: {
    50: '#ff94ff',
    500: '#fb5aff',
    950: '#000000',
  },
}
SCSS
$custom: #fb5aff;
$custom-light: #ff94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5aff",
  "rgb": {
    "r": 251,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 298.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73933,
    "c": 0.26412,
    "h": 326.8
  },
  "luminance": 0.35042
}

Semantic roles & 50–950 ramp

primary
#FB5AFF
secondary
#C2F4C1
accent
#E60006
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FB5AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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