#FB5FEA#FB5FEA

#FB5FEA is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.4% C 0.242 H 332.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#FB5FEA
RGBrgb(251, 95, 234)
HSLhsl(307, 95%, 68%)
HSVhsv(307, 62%, 98%)
CMYKcmyk(0%, 62.2%, 6.8%, 1.6%)
CIE-LABlab(65.47, 74.72, -41.07)
CIE-LCHlch(65.47, 85.26, 331.20°)
OKLaboklab(73.38% 0.2143 -0.1125)
OKLCHoklch(73.38% 0.242 332.3)
XYZxyz(58.7272, 34.6386, 81.4188)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FEA #5FFB70
analogous
#BE5FFB #FB5FEA #FB5F9C
triadic
#FB5FEA #EAFB5F #5FEAFB
tetradic
#FB5FEA #FBBE5F #5FFB70 #5F9CFB
square
#FB5FEA #FBBE5F #5FFB70 #5F9CFB
split-complementary
#FB5FEA #9CFB5F #5FFBBE
monochromatic
#DA05C3 #FA23E2 #FB5FEA #FC9BF2 #FED6FA

Accessibility & contrast

On white

2.65
#FB5FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#FB5FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FEA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FEA#FFFFFF#000000##000000
##FB5FEA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#8DA7E6
Tritanopia (blue-blind)
#FF6D9C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fb5fea;
/* rgb */ color: rgb(251, 95, 234);
/* oklch */ color: oklch(73.4% 0.242 332.3);
Tailwind
colors: {
  custom: {
    50: '#ff96f1',
    500: '#fb5fea',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fea;
$custom-light: #ff96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fea",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 306.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73378,
    "c": 0.24198,
    "h": 332.3
  },
  "luminance": 0.34634
}

Semantic roles & 50–950 ramp

primary
#FB5FEA
secondary
#C3F3C8
accent
#E61900
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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