#FB5DE1#FB5DE1

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

Color values

HEX#FB5DE1
RGBrgb(251, 93, 225)
HSLhsl(310, 95%, 67%)
HSVhsv(310, 63%, 98%)
CMYKcmyk(0%, 62.9%, 10.4%, 1.6%)
CIE-LABlab(64.79, 74.14, -37.12)
CIE-LCHlch(64.79, 82.92, 333.40°)
OKLaboklab(72.75% 0.2155 -0.1012)
OKLCHoklch(72.75% 0.238 334.9)
XYZxyz(57.2891, 33.7788, 74.7222)
Luminance0.3377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5DE1 #5DFB77
analogous
#C65DFB #FB5DE1 #FB5D92
triadic
#FB5DE1 #E1FB5D #5DE1FB
tetradic
#FB5DE1 #FBC65D #5DFB77 #5D92FB
square
#FB5DE1 #FBC65D #5DFB77 #5D92FB
split-complementary
#FB5DE1 #92FB5D #5DFBC6
monochromatic
#D805B6 #FA21D6 #FB5DE1 #FC99EC #FED4F7

Accessibility & contrast

On white

2.71
#FB5DE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#FB5DE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5DE1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5DE1#FFFFFF#000000##000000
##FB5DE11.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8EE5
Deuteranopia (green-blind)
#90A6DD
Tritanopia (blue-blind)
#FF6897
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb5de1;
/* rgb */ color: rgb(251, 93, 225);
/* oklch */ color: oklch(72.8% 0.238 334.9);
Tailwind
colors: {
  custom: {
    50: '#ff95ea',
    500: '#fb5de1',
    950: '#000000',
  },
}
SCSS
$custom: #fb5de1;
$custom-light: #ff95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5de1",
  "rgb": {
    "r": 251,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 309.873,
    "s": 95.181,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72753,
    "c": 0.23804,
    "h": 334.9
  },
  "luminance": 0.33774
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB5DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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