#FB74EC#FB74EC

#FB74EC is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.8% C 0.214 H 331.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#FB74EC
RGBrgb(251, 116, 236)
HSLhsl(307, 94%, 72%)
HSVhsv(307, 54%, 98%)
CMYKcmyk(0%, 53.8%, 6%, 1.6%)
CIE-LABlab(68.79, 66.19, -36.98)
CIE-LCHlch(68.79, 75.82, 330.81°)
OKLaboklab(75.84% 0.189 -0.1009)
OKLCHoklch(75.84% 0.214 331.9)
XYZxyz(61.1692, 39.0602, 83.6582)
Luminance0.3906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB74EC #74FB83
analogous
#C774FB #FB74EC #FB74A8
triadic
#FB74EC #ECFB74 #74ECFB
tetradic
#FB74EC #FBC774 #74FB83 #74A8FB
square
#FB74EC #FBC774 #74FB83 #74A8FB
split-complementary
#FB74EC #A8FB74 #74FBC7
monochromatic
#EE07D4 #F939E4 #FB74EC #FDAFF4 #FEE1FB

Accessibility & contrast

On white

2.38
#FB74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#FB74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB74EC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB74EC#FFFFFF#000000##000000
##FB74EC1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#FF7FA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb74ec;
/* rgb */ color: rgb(251, 116, 236);
/* oklch */ color: oklch(75.8% 0.214 331.9);
Tailwind
colors: {
  custom: {
    50: '#ffa2f2',
    500: '#fb74ec',
    950: '#000000',
  },
}
SCSS
$custom: #fb74ec;
$custom-light: #ffa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb74ec",
  "rgb": {
    "r": 251,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 306.667,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.21423,
    "h": 331.9
  },
  "luminance": 0.39056
}

Semantic roles & 50–950 ramp

primary
#FB74EC
secondary
#D4F6D8
accent
#E61A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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