#FB4FEF#FB4FEF

#FB4FEF is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 72.1% C 0.265 H 330.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#FB4FEF
RGBrgb(251, 79, 239)
HSLhsl(304, 96%, 65%)
HSVhsv(304, 69%, 98%)
CMYKcmyk(0%, 68.5%, 4.8%, 1.6%)
CIE-LABlab(63.62, 81.29, -46.75)
CIE-LCHlch(63.62, 93.78, 330.10°)
OKLaboklab(72.12% 0.2315 -0.1287)
OKLCHoklch(72.12% 0.265 330.9)
XYZxyz(58.1595, 32.3377, 84.8232)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4FEF #4FFB5B
analogous
#B14FFB #FB4FEF #FB4F99
triadic
#FB4FEF #EFFB4F #4FEFFB
tetradic
#FB4FEF #FBB14F #4FFB5B #4F99FB
square
#FB4FEF #FBB14F #4FFB5B #4F99FB
split-complementary
#FB4FEF #99FB4F #4FFBB1
monochromatic
#CB05BD #FA13EA #FB4FEF #FC8BF4 #FEC7FA

Accessibility & contrast

On white

2.81
#FB4FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#FB4FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4FEF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4FEF#FFFFFF#000000##000000
##FB4FEF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF4
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#FF639A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #fb4fef;
/* rgb */ color: rgb(251, 79, 239);
/* oklch */ color: oklch(72.1% 0.265 330.9);
Tailwind
colors: {
  custom: {
    50: '#ff8ef5',
    500: '#fb4fef',
    950: '#000000',
  },
}
SCSS
$custom: #fb4fef;
$custom-light: #ff8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4fef",
  "rgb": {
    "r": 251,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 304.186,
    "s": 95.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.72118,
    "c": 0.26484,
    "h": 330.9
  },
  "luminance": 0.32333
}

Semantic roles & 50–950 ramp

primary
#FB4FEF
secondary
#B5F0BA
accent
#E61000
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190D17
muted
#877E85

Preview Lab

Preview with #FB4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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