#FB5CEE#FB5CEE

#FB5CEE is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 73.3% C 0.249 H 331.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#FB5CEE
RGBrgb(251, 92, 238)
HSLhsl(305, 95%, 67%)
HSVhsv(305, 63%, 98%)
CMYKcmyk(0%, 63.3%, 5.2%, 1.6%)
CIE-LABlab(65.23, 76.49, -43.66)
CIE-LCHlch(65.23, 88.07, 330.28°)
OKLaboklab(73.27% 0.218 -0.1199)
OKLCHoklch(73.27% 0.249 331.2)
XYZxyz(59.0433, 34.3410, 84.3910)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5CEE #5CFB69
analogous
#B95CFB #FB5CEE #FB5C9E
triadic
#FB5CEE #EEFB5C #5CEEFB
tetradic
#FB5CEE #FBB95C #5CFB69 #5C9EFB
square
#FB5CEE #FBB95C #5CFB69 #5C9EFB
split-complementary
#FB5CEE #9EFB5C #5CFBB9
monochromatic
#D705C6 #FA20E8 #FB5CEE #FC98F4 #FED3FA

Accessibility & contrast

On white

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

On black

7.87
#FB5CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5CEE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5CEE#FFFFFF#000000##000000
##FB5CEE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F2
Deuteranopia (green-blind)
#89A6EA
Tritanopia (blue-blind)
#FF6C9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5cee;
/* rgb */ color: rgb(251, 92, 238);
/* oklch */ color: oklch(73.3% 0.249 331.2);
Tailwind
colors: {
  custom: {
    50: '#ff94f4',
    500: '#fb5cee',
    950: '#000000',
  },
}
SCSS
$custom: #fb5cee;
$custom-light: #ff94f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5cee",
  "rgb": {
    "r": 251,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 304.906,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73267,
    "c": 0.24877,
    "h": 331.2
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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