#FB5CE4#FB5CE4

#FB5CE4 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.8% C 0.241 H 334.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#FB5CE4
RGBrgb(251, 92, 228)
HSLhsl(309, 95%, 67%)
HSVhsv(309, 63%, 98%)
CMYKcmyk(0%, 63.3%, 9.2%, 1.6%)
CIE-LABlab(64.78, 74.97, -38.81)
CIE-LCHlch(64.78, 84.42, 332.63°)
OKLaboklab(72.79% 0.217 -0.106)
OKLCHoklch(72.79% 0.241 334)
XYZxyz(57.6147, 33.7695, 76.8674)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5CE4 #5CFB73
analogous
#C25CFB #FB5CE4 #FB5C95
triadic
#FB5CE4 #E4FB5C #5CE4FB
tetradic
#FB5CE4 #FBC25C #5CFB73 #5C95FB
square
#FB5CE4 #FBC25C #5CFB73 #5C95FB
split-complementary
#FB5CE4 #95FB5C #5CFBC2
monochromatic
#D705B9 #FA20DA #FB5CE4 #FC98EE #FED3F8

Accessibility & contrast

On white

2.71
#FB5CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#FB5CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5CE4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5CE4#FFFFFF#000000##000000
##FB5CE41.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#8EA6E0
Tritanopia (blue-blind)
#FF6898
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5ce4;
/* rgb */ color: rgb(251, 92, 228);
/* oklch */ color: oklch(72.8% 0.241 334.0);
Tailwind
colors: {
  custom: {
    50: '#ff94ed',
    500: '#fb5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ce4;
$custom-light: #ff94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ce4",
  "rgb": {
    "r": 251,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 308.679,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.24147,
    "h": 334
  },
  "luminance": 0.33765
}

Semantic roles & 50–950 ramp

primary
#FB5CE4
secondary
#C0F2C8
accent
#E62100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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