#FB4FE2#FB4FE2

#FB4FE2 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.5% C 0.256 H 334.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#FB4FE2
RGBrgb(251, 79, 226)
HSLhsl(309, 96%, 65%)
HSVhsv(309, 69%, 98%)
CMYKcmyk(0%, 68.5%, 10%, 1.6%)
CIE-LABlab(63.01, 79.38, -40.46)
CIE-LCHlch(63.01, 89.10, 332.99°)
OKLaboklab(71.48% 0.2306 -0.1106)
OKLCHoklch(71.48% 0.256 334.4)
XYZxyz(56.3076, 31.5969, 75.0700)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4FE2 #4FFB68
analogous
#BE4FFB #FB4FE2 #FB4F8C
triadic
#FB4FE2 #E2FB4F #4FE2FB
tetradic
#FB4FE2 #FBBE4F #4FFB68 #4F8CFB
square
#FB4FE2 #FBBE4F #4FFB68 #4F8CFB
split-complementary
#FB4FE2 #8CFB4F #4FFBBE
monochromatic
#CB05AE #FA13D8 #FB4FE2 #FC8BEC #FEC7F6

Accessibility & contrast

On white

2.87
#FB4FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#FB4FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4FE2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4FE2#FFFFFF#000000##000000
##FB4FE21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#89A1DE
Tritanopia (blue-blind)
#FF5D93
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb4fe2;
/* rgb */ color: rgb(251, 79, 226);
/* oklch */ color: oklch(71.5% 0.256 334.4);
Tailwind
colors: {
  custom: {
    50: '#ff8eeb',
    500: '#fb4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #fb4fe2;
$custom-light: #ff8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4fe2",
  "rgb": {
    "r": 251,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 308.721,
    "s": 95.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71476,
    "c": 0.25572,
    "h": 334.4
  },
  "luminance": 0.31592
}

Semantic roles & 50–950 ramp

primary
#FB4FE2
secondary
#B5F0BE
accent
#E62100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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