#FB5DEB#FB5DEB

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

Color values

HEX#FB5DEB
RGBrgb(251, 93, 235)
HSLhsl(306, 95%, 67%)
HSVhsv(306, 63%, 98%)
CMYKcmyk(0%, 62.9%, 6.4%, 1.6%)
CIE-LABlab(65.23, 75.64, -41.99)
CIE-LCHlch(65.23, 86.52, 330.96°)
OKLaboklab(73.22% 0.2166 -0.1151)
OKLCHoklch(73.22% 0.245 332)
XYZxyz(58.6934, 34.3405, 82.1182)
Luminance0.3434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DEB #5DFB6D
analogous
#BC5DFB #FB5DEB #FB5D9C
triadic
#FB5DEB #EBFB5D #5DEBFB
tetradic
#FB5DEB #FBBC5D #5DFB6D #5D9CFB
square
#FB5DEB #FBBC5D #5DFB6D #5D9CFB
split-complementary
#FB5DEB #9CFB5D #5DFBBC
monochromatic
#D805C3 #FA21E4 #FB5DEB #FC99F2 #FED4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB5DEB#FFFFFF#000000##000000
##FB5DEB1.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)
#5590EF
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#FF6C9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5deb;
/* rgb */ color: rgb(251, 93, 235);
/* oklch */ color: oklch(73.2% 0.245 332.0);
Tailwind
colors: {
  custom: {
    50: '#ff95f2',
    500: '#fb5deb',
    950: '#000000',
  },
}
SCSS
$custom: #fb5deb;
$custom-light: #ff95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5deb",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 306.076,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73222,
    "c": 0.24529,
    "h": 332
  },
  "luminance": 0.34336
}

Semantic roles & 50–950 ramp

primary
#FB5DEB
secondary
#C1F3C6
accent
#E61700
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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