#FB4FE5#FB4FE5

#FB4FE5 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.6% C 0.258 H 333.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#FB4FE5
RGBrgb(251, 79, 229)
HSLhsl(308, 96%, 65%)
HSVhsv(308, 69%, 98%)
CMYKcmyk(0%, 68.5%, 8.8%, 1.6%)
CIE-LABlab(63.15, 79.81, -41.92)
CIE-LCHlch(63.15, 90.15, 332.29°)
OKLaboklab(71.62% 0.2308 -0.1148)
OKLCHoklch(71.62% 0.258 333.6)
XYZxyz(56.7229, 31.7630, 77.2570)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4FE5 #4FFB65
analogous
#BB4FFB #FB4FE5 #FB4F8F
triadic
#FB4FE5 #E5FB4F #4FE5FB
tetradic
#FB4FE5 #FBBB4F #4FFB65 #4F8FFB
square
#FB4FE5 #FBBB4F #4FFB65 #4F8FFB
split-complementary
#FB4FE5 #8FFB4F #4FFBBB
monochromatic
#CB05B2 #FA13DC #FB4FE5 #FC8BEE #FEC7F7

Accessibility & contrast

On white

2.86
#FB4FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#FB4FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4FE5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4FE5#FFFFFF#000000##000000
##FB4FE51.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#87A2E1
Tritanopia (blue-blind)
#FF5E94
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #fb4fe5;
/* rgb */ color: rgb(251, 79, 229);
/* oklch */ color: oklch(71.6% 0.258 333.6);
Tailwind
colors: {
  custom: {
    50: '#ff8eed',
    500: '#fb4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #fb4fe5;
$custom-light: #ff8eed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4fe5",
  "rgb": {
    "r": 251,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 307.674,
    "s": 95.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.71621,
    "c": 0.25779,
    "h": 333.6
  },
  "luminance": 0.31758
}

Semantic roles & 50–950 ramp

primary
#FB4FE5
secondary
#B5F0BD
accent
#E61D00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D16
muted
#877E84

Preview Lab

Preview with #FB4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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