#FB7EEA#FB7EEA

#FB7EEA is a light, vivid purple. Relative luminance 0.414; OKLCH L 77.0% C 0.197 H 332.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FB7EEA
RGBrgb(251, 126, 234)
HSLhsl(308, 94%, 74%)
HSVhsv(308, 50%, 98%)
CMYKcmyk(0%, 49.8%, 6.8%, 1.6%)
CIE-LABlab(70.44, 61.28, -33.33)
CIE-LCHlch(70.44, 69.75, 331.46°)
OKLaboklab(77.03% 0.1754 -0.0906)
OKLCHoklch(77.03% 0.197 332.7)
XYZxyz(62.0956, 41.3754, 82.5416)
Luminance0.4137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EEA #7EFB8F
analogous
#CE7EFB #FB7EEA #FB7EAC
triadic
#FB7EEA #EAFB7E #7EEAFB
tetradic
#FB7EEA #FBCE7E #7EFB8F #7EACFB
square
#FB7EEA #FBCE7E #7EFB8F #7EACFB
split-complementary
#FB7EEA #ACFB7E #7EFBCE
monochromatic
#F708D6 #F943E0 #FB7EEA #FDB9F4 #FEE1FA

Accessibility & contrast

On white

2.26
#FB7EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FB7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EEA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EEA#FFFFFF#000000##000000
##FB7EEA1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#9FB3E6
Tritanopia (blue-blind)
#FF86A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7eea;
/* rgb */ color: rgb(251, 126, 234);
/* oklch */ color: oklch(77.0% 0.197 332.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8f1',
    500: '#fb7eea',
    950: '#000000',
  },
}
SCSS
$custom: #fb7eea;
$custom-light: #ffa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7eea",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 308.16,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77031,
    "c": 0.19741,
    "h": 332.7
  },
  "luminance": 0.41371
}

Semantic roles & 50–950 ramp

primary
#FB7EEA
secondary
#D5F6D9
accent
#E61F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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