#FB5EF5#FB5EF5

#FB5EF5 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.8% C 0.252 H 329.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#FB5EF5
RGBrgb(251, 94, 245)
HSLhsl(302, 95%, 68%)
HSVhsv(302, 63%, 98%)
CMYKcmyk(0%, 62.5%, 2.4%, 1.6%)
CIE-LABlab(65.84, 76.82, -46.58)
CIE-LCHlch(65.84, 89.84, 328.77°)
OKLaboklab(73.81% 0.2163 -0.1283)
OKLCHoklch(73.81% 0.252 329.3)
XYZxyz(60.2673, 35.1114, 89.9714)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EF5 #5EFB64
analogous
#B25EFB #FB5EF5 #FB5EA6
triadic
#FB5EF5 #F5FB5E #5EF5FB
tetradic
#FB5EF5 #FBB25E #5EFB64 #5EA6FB
square
#FB5EF5 #FBB25E #5EFB64 #5EA6FB
split-complementary
#FB5EF5 #A6FB5E #5EFBB2
monochromatic
#D905D1 #FA22F1 #FB5EF5 #FC9AF9 #FED5FC

Accessibility & contrast

On white

2.62
#FB5EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#FB5EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EF5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EF5#FFFFFF#000000##000000
##FB5EF51.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#87A7F1
Tritanopia (blue-blind)
#FF70A2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #fb5ef5;
/* rgb */ color: rgb(251, 94, 245);
/* oklch */ color: oklch(73.8% 0.252 329.3);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#fb5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ef5;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ef5",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 302.293,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73812,
    "c": 0.25153,
    "h": 329.3
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#FB5EF5
secondary
#C2F3C4
accent
#E60900
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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