#FB74EF#FB74EF

#FB74EF is a light, highly saturated purple. Relative luminance 0.392; OKLCH L 76.0% C 0.217 H 331.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#FB74EF
RGBrgb(251, 116, 239)
HSLhsl(305, 94%, 72%)
HSVhsv(305, 54%, 98%)
CMYKcmyk(0%, 53.8%, 4.8%, 1.6%)
CIE-LABlab(68.92, 66.67, -38.44)
CIE-LCHlch(68.92, 76.96, 330.04°)
OKLaboklab(75.98% 0.1894 -0.1051)
OKLCHoklch(75.98% 0.217 331)
XYZxyz(61.6087, 39.2360, 85.9730)
Luminance0.3923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB74EF #74FB80
analogous
#C374FB #FB74EF #FB74AC
triadic
#FB74EF #EFFB74 #74EFFB
tetradic
#FB74EF #FBC374 #74FB80 #74ACFB
square
#FB74EF #FBC374 #74FB80 #74ACFB
split-complementary
#FB74EF #ACFB74 #74FBC3
monochromatic
#EE07D9 #F939E8 #FB74EF #FDAFF6 #FEE1FC

Accessibility & contrast

On white

2.37
#FB74EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#FB74EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB74EF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB74EF#FFFFFF#000000##000000
##FB74EF1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#97AFEB
Tritanopia (blue-blind)
#FF80A7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #fb74ef;
/* rgb */ color: rgb(251, 116, 239);
/* oklch */ color: oklch(76.0% 0.217 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa2f4',
    500: '#fb74ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb74ef;
$custom-light: #ffa2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb74ef",
  "rgb": {
    "r": 251,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 305.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75979,
    "c": 0.21662,
    "h": 331
  },
  "luminance": 0.39232
}

Semantic roles & 50–950 ramp

primary
#FB74EF
secondary
#D4F6D7
accent
#E61400
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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