#FB5DE5#FB5DE5

#FB5DE5 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.9% C 0.241 H 333.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#FB5DE5
RGBrgb(251, 93, 229)
HSLhsl(308, 95%, 67%)
HSVhsv(308, 63%, 98%)
CMYKcmyk(0%, 62.9%, 8.8%, 1.6%)
CIE-LABlab(64.96, 74.74, -39.08)
CIE-LCHlch(64.96, 84.34, 332.39°)
OKLaboklab(72.94% 0.216 -0.1067)
OKLCHoklch(72.94% 0.241 333.7)
XYZxyz(57.8412, 33.9996, 77.6297)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DE5 #5DFB73
analogous
#C25DFB #FB5DE5 #FB5D96
triadic
#FB5DE5 #E5FB5D #5DE5FB
tetradic
#FB5DE5 #FBC25D #5DFB73 #5D96FB
square
#FB5DE5 #FBC25D #5DFB73 #5D96FB
split-complementary
#FB5DE5 #96FB5D #5DFBC2
monochromatic
#D805BB #FA21DB #FB5DE5 #FC99EF #FED4F8

Accessibility & contrast

On white

2.69
#FB5DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#FB5DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DE5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DE5#FFFFFF#000000##000000
##FB5DE51.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE9
Deuteranopia (green-blind)
#8EA6E1
Tritanopia (blue-blind)
#FF6999
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5de5;
/* rgb */ color: rgb(251, 93, 229);
/* oklch */ color: oklch(72.9% 0.241 333.7);
Tailwind
colors: {
  custom: {
    50: '#ff95ed',
    500: '#fb5de5',
    950: '#000000',
  },
}
SCSS
$custom: #fb5de5;
$custom-light: #ff95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5de5",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 308.354,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.2409,
    "h": 333.7
  },
  "luminance": 0.33995
}

Semantic roles & 50–950 ramp

primary
#FB5DE5
secondary
#C1F3C8
accent
#E62000
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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