#FB5EFA#FB5EFA

#FB5EFA is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 74.1% C 0.255 H 328.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#FB5EFA
RGBrgb(251, 94, 250)
HSLhsl(300, 95%, 68%)
HSVhsv(300, 63%, 98%)
CMYKcmyk(0%, 62.5%, 0.4%, 1.6%)
CIE-LABlab(66.08, 77.61, -48.96)
CIE-LCHlch(66.08, 91.76, 327.76°)
OKLaboklab(74.06% 0.2167 -0.1352)
OKLCHoklch(74.06% 0.255 328)
XYZxyz(61.0409, 35.4209, 94.0458)
Luminance0.3542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5EFA #5EFB5F
analogous
#AD5EFB #FB5EFA #FB5EAC
triadic
#FB5EFA #FAFB5E #5EFAFB
tetradic
#FB5EFA #FBAD5E #5EFB5F #5EACFB
square
#FB5EFA #FBAD5E #5EFB5F #5EACFB
split-complementary
#FB5EFA #ACFB5E #5EFBAD
monochromatic
#D905D8 #FA22F8 #FB5EFA #FC9AFC #FED5FE

Accessibility & contrast

On white

2.60
#FB5EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#FB5EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5EFA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5EFA#FFFFFF#000000##000000
##FB5EFA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FF
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#FF72A4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #fb5efa;
/* rgb */ color: rgb(251, 94, 250);
/* oklch */ color: oklch(74.1% 0.255 328.0);
Tailwind
colors: {
  custom: {
    50: '#ff96fc',
    500: '#fb5efa',
    950: '#000000',
  },
}
SCSS
$custom: #fb5efa;
$custom-light: #ff96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5efa",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 250
  },
  "hsl": {
    "h": 300.382,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.74063,
    "c": 0.25537,
    "h": 328
  },
  "luminance": 0.35417
}

Semantic roles & 50–950 ramp

primary
#FB5EFA
secondary
#C2F3C2
accent
#E60100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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