#FB4AFF#FB4AFF

#FB4AFF is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 72.6% C 0.282 H 327.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#FB4AFF
RGBrgb(251, 74, 255)
HSLhsl(299, 100%, 65%)
HSVhsv(299, 71%, 100%)
CMYKcmyk(1.6%, 71%, 0%, 0%)
CIE-LABlab(63.86, 85.36, -55.22)
CIE-LCHlch(63.86, 101.66, 327.10°)
OKLaboklab(72.55% 0.2364 -0.1532)
OKLCHoklch(72.55% 0.282 327)
XYZxyz(60.2815, 32.6310, 97.7117)
Luminance0.3263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4AFF #4EFF4A
analogous
#A14AFF #FB4AFF #FF4AA9
triadic
#FB4AFF #FFFB4A #4AFFFB
tetradic
#FB4AFF #FFA14A #4EFF4A #4AA9FF
square
#FB4AFF #FFA14A #4EFF4A #4AA9FF
split-complementary
#FB4AFF #A9FF4A #4AFFA1
monochromatic
#CA00CF #FA0DFF #FB4AFF #FC87FF #FEC4FF

Accessibility & contrast

On white

2.79
#FB4AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#FB4AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4AFF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4AFF#FFFFFF#000000##000000
##FB4AFF1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#FF67A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #fb4aff;
/* rgb */ color: rgb(251, 74, 255);
/* oklch */ color: oklch(72.6% 0.282 327.0);
Tailwind
colors: {
  custom: {
    50: '#ff8cff',
    500: '#fb4aff',
    950: '#000000',
  },
}
SCSS
$custom: #fb4aff;
$custom-light: #ff8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4aff",
  "rgb": {
    "r": 251,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 298.674,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.28169,
    "h": 327
  },
  "luminance": 0.32627
}

Semantic roles & 50–950 ramp

primary
#FB4AFF
secondary
#B5F2B3
accent
#E60005
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190D18
muted
#877E86

Preview Lab

Preview with #FB4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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