#FB5FED#FB5FED

#FB5FED is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.5% C 0.244 H 331.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#FB5FED
RGBrgb(251, 95, 237)
HSLhsl(305, 95%, 68%)
HSVhsv(305, 62%, 98%)
CMYKcmyk(0%, 62.2%, 5.6%, 1.6%)
CIE-LABlab(65.60, 75.18, -42.52)
CIE-LCHlch(65.60, 86.37, 330.51°)
OKLaboklab(73.52% 0.2146 -0.1166)
OKLCHoklch(73.52% 0.244 331.5)
XYZxyz(59.1618, 34.8124, 83.7078)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FED #5FFB6D
analogous
#BB5FFB #FB5FED #FB5F9F
triadic
#FB5FED #EDFB5F #5FEDFB
tetradic
#FB5FED #FBBB5F #5FFB6D #5F9FFB
square
#FB5FED #FBBB5F #5FFB6D #5F9FFB
split-complementary
#FB5FED #9FFB5F #5FFBBB
monochromatic
#DA05C7 #FA23E6 #FB5FED #FC9BF4 #FED6FA

Accessibility & contrast

On white

2.64
#FB5FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#FB5FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FED
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FED#FFFFFF#000000##000000
##FB5FED1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#FF6E9E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #fb5fed;
/* rgb */ color: rgb(251, 95, 237);
/* oklch */ color: oklch(73.5% 0.244 331.5);
Tailwind
colors: {
  custom: {
    50: '#ff96f3',
    500: '#fb5fed',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fed;
$custom-light: #ff96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fed",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 305.385,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73521,
    "c": 0.24421,
    "h": 331.5
  },
  "luminance": 0.34808
}

Semantic roles & 50–950 ramp

primary
#FB5FED
secondary
#C3F3C7
accent
#E61500
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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