#FB5EE2#FB5EE2

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

Color values

HEX#FB5EE2
RGBrgb(251, 94, 226)
HSLhsl(310, 95%, 68%)
HSVhsv(310, 63%, 98%)
CMYKcmyk(0%, 62.5%, 10%, 1.6%)
CIE-LABlab(64.97, 73.90, -37.40)
CIE-LCHlch(64.97, 82.82, 333.16°)
OKLaboklab(72.9% 0.2145 -0.1019)
OKLCHoklch(72.9% 0.237 334.6)
XYZxyz(57.5143, 34.0102, 75.4722)
Luminance0.3401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EE2 #5EFB77
analogous
#C55EFB #FB5EE2 #FB5E94
triadic
#FB5EE2 #E2FB5E #5EE2FB
tetradic
#FB5EE2 #FBC55E #5EFB77 #5E94FB
square
#FB5EE2 #FBC55E #5EFB77 #5E94FB
split-complementary
#FB5EE2 #94FB5E #5EFBC5
monochromatic
#D905B7 #FA22D7 #FB5EE2 #FC9AED #FED5F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB5EE2#FFFFFF#000000##000000
##FB5EE21.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)
#5D8FE6
Deuteranopia (green-blind)
#90A6DE
Tritanopia (blue-blind)
#FF6998
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5ee2;
/* rgb */ color: rgb(251, 94, 226);
/* oklch */ color: oklch(72.9% 0.237 334.6);
Tailwind
colors: {
  custom: {
    50: '#ff95eb',
    500: '#fb5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ee2;
$custom-light: #ff95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ee2",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 309.554,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72901,
    "c": 0.23745,
    "h": 334.6
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#FB5EE2
secondary
#C2F3CA
accent
#E62500
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #FB5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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