#FB4AED#FB4AED

#FB4AED is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 71.6% C 0.269 H 331.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#FB4AED
RGBrgb(251, 74, 237)
HSLhsl(305, 96%, 64%)
HSVhsv(305, 71%, 98%)
CMYKcmyk(0%, 70.5%, 5.6%, 1.6%)
CIE-LABlab(62.95, 82.62, -46.70)
CIE-LCHlch(62.95, 94.91, 330.53°)
OKLaboklab(71.6% 0.2361 -0.1285)
OKLCHoklch(71.6% 0.269 331.4)
XYZxyz(57.5185, 31.5258, 83.1600)
Luminance0.3152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB4AED #4AFB58
analogous
#B04AFB #FB4AED #FB4A94
triadic
#FB4AED #EDFB4A #4AEDFB
tetradic
#FB4AED #FBB04A #4AFB58 #4A94FB
square
#FB4AED #FBB04A #4AFB58 #4A94FB
split-complementary
#FB4AED #94FB4A #4AFBB0
monochromatic
#C604B7 #FA0EE7 #FB4AED #FC86F3 #FEC2F9

Accessibility & contrast

On white

2.88
#FB4AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#FB4AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB4AED
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB4AED#FFFFFF#000000##000000
##FB4AED1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F2
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#FF5E97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb4aed;
/* rgb */ color: rgb(251, 74, 237);
/* oklch */ color: oklch(71.6% 0.269 331.4);
Tailwind
colors: {
  custom: {
    50: '#ff8cf3',
    500: '#fb4aed',
    950: '#000000',
  },
}
SCSS
$custom: #fb4aed;
$custom-light: #ff8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb4aed",
  "rgb": {
    "r": 251,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 304.746,
    "s": 95.676,
    "l": 63.725
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.2688,
    "h": 331.4
  },
  "luminance": 0.31521
}

Semantic roles & 50–950 ramp

primary
#FB4AED
secondary
#B1F0B6
accent
#E61200
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190D17
muted
#877E85

Preview Lab

Preview with #FB4AED

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

Preview Lab → · Contrast checker → · Palette generator →

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