#FB5DE4#FB5DE4

#FB5DE4 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.9% C 0.240 H 334.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#FB5DE4
RGBrgb(251, 93, 228)
HSLhsl(309, 95%, 67%)
HSVhsv(309, 63%, 98%)
CMYKcmyk(0%, 62.9%, 9.2%, 1.6%)
CIE-LABlab(64.92, 74.59, -38.59)
CIE-LCHlch(64.92, 83.98, 332.64°)
OKLaboklab(72.89% 0.2159 -0.1053)
OKLCHoklch(72.89% 0.24 334)
XYZxyz(57.7019, 33.9439, 76.8965)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DE4 #5DFB74
analogous
#C35DFB #FB5DE4 #FB5D95
triadic
#FB5DE4 #E4FB5D #5DE4FB
tetradic
#FB5DE4 #FBC35D #5DFB74 #5D95FB
square
#FB5DE4 #FBC35D #5DFB74 #5D95FB
split-complementary
#FB5DE4 #95FB5D #5DFBC3
monochromatic
#D805BA #FA21DA #FB5DE4 #FC99EE #FED4F8

Accessibility & contrast

On white

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

On black

7.79
#FB5DE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DE4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DE4#FFFFFF#000000##000000
##FB5DE41.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FE8
Deuteranopia (green-blind)
#8EA6E0
Tritanopia (blue-blind)
#FF6998
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5de4;
/* rgb */ color: rgb(251, 93, 228);
/* oklch */ color: oklch(72.9% 0.240 334.0);
Tailwind
colors: {
  custom: {
    50: '#ff95ed',
    500: '#fb5de4',
    950: '#000000',
  },
}
SCSS
$custom: #fb5de4;
$custom-light: #ff95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5de4",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 308.734,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72892,
    "c": 0.24019,
    "h": 334
  },
  "luminance": 0.33939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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