#FB5CEF#FB5CEF

#FB5CEF is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.3% C 0.250 H 330.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#FB5CEF
RGBrgb(251, 92, 239)
HSLhsl(305, 95%, 67%)
HSVhsv(305, 63%, 98%)
CMYKcmyk(0%, 63.3%, 4.8%, 1.6%)
CIE-LABlab(65.28, 76.64, -44.14)
CIE-LCHlch(65.28, 88.44, 330.06°)
OKLaboklab(73.32% 0.2181 -0.1213)
OKLCHoklch(73.32% 0.25 330.9)
XYZxyz(59.1906, 34.3999, 85.1669)
Luminance0.3440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5CEF #5CFB68
analogous
#B75CFB #FB5CEF #FB5CA0
triadic
#FB5CEF #EFFB5C #5CEFFB
tetradic
#FB5CEF #FBB75C #5CFB68 #5CA0FB
square
#FB5CEF #FBB75C #5CFB68 #5CA0FB
split-complementary
#FB5CEF #A0FB5C #5CFBB7
monochromatic
#D705C7 #FA20E9 #FB5CEF #FC98F5 #FED3FB

Accessibility & contrast

On white

2.67
#FB5CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#FB5CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5CEF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5CEF#FFFFFF#000000##000000
##FB5CEF1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F3
Deuteranopia (green-blind)
#89A6EB
Tritanopia (blue-blind)
#FF6C9E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5cef;
/* rgb */ color: rgb(251, 92, 239);
/* oklch */ color: oklch(73.3% 0.250 330.9);
Tailwind
colors: {
  custom: {
    50: '#ff94f4',
    500: '#fb5cef',
    950: '#000000',
  },
}
SCSS
$custom: #fb5cef;
$custom-light: #ff94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5cef",
  "rgb": {
    "r": 251,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 304.528,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73316,
    "c": 0.24952,
    "h": 330.9
  },
  "luminance": 0.34396
}

Semantic roles & 50–950 ramp

primary
#FB5CEF
secondary
#C0F2C4
accent
#E61100
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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