#FB5DE2#FB5DE2

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

Color values

HEX#FB5DE2
RGBrgb(251, 93, 226)
HSLhsl(309, 95%, 67%)
HSVhsv(309, 63%, 98%)
CMYKcmyk(0%, 62.9%, 10%, 1.6%)
CIE-LABlab(64.83, 74.29, -37.61)
CIE-LCHlch(64.83, 83.27, 333.15°)
OKLaboklab(72.8% 0.2156 -0.1026)
OKLCHoklch(72.8% 0.239 334.6)
XYZxyz(57.4259, 33.8335, 75.4428)
Luminance0.3383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DE2 #5DFB76
analogous
#C55DFB #FB5DE2 #FB5D93
triadic
#FB5DE2 #E2FB5D #5DE2FB
tetradic
#FB5DE2 #FBC55D #5DFB76 #5D93FB
square
#FB5DE2 #FBC55D #5DFB76 #5D93FB
split-complementary
#FB5DE2 #93FB5D #5DFBC5
monochromatic
#D805B7 #FA21D7 #FB5DE2 #FC99ED #FED4F7

Accessibility & contrast

On white

2.70
#FB5DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#FB5DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DE2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DE2#FFFFFF#000000##000000
##FB5DE21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE6
Deuteranopia (green-blind)
#8FA6DE
Tritanopia (blue-blind)
#FF6897
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5de2;
/* rgb */ color: rgb(251, 93, 226);
/* oklch */ color: oklch(72.8% 0.239 334.6);
Tailwind
colors: {
  custom: {
    50: '#ff95eb',
    500: '#fb5de2',
    950: '#000000',
  },
}
SCSS
$custom: #fb5de2;
$custom-light: #ff95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5de2",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 309.494,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72799,
    "c": 0.23876,
    "h": 334.6
  },
  "luminance": 0.33829
}

Semantic roles & 50–950 ramp

primary
#FB5DE2
secondary
#C1F3C9
accent
#E62400
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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