#FB9FEC#FB9FEC

#FB9FEC is a light, vivid purple. Relative luminance 0.514; OKLCH L 81.9% C 0.145 H 332.9°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#FB9FEC
RGBrgb(251, 159, 236)
HSLhsl(310, 92%, 80%)
HSVhsv(310, 37%, 98%)
CMYKcmyk(0%, 36.7%, 6%, 1.6%)
CIE-LABlab(76.90, 45.27, -24.49)
CIE-LCHlch(76.90, 51.47, 331.58°)
OKLaboklab(81.89% 0.129 -0.066)
OKLCHoklch(81.89% 0.145 332.9)
XYZxyz(67.3215, 51.3649, 85.7090)
Luminance0.5136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB9FEC #9FFBAE
analogous
#DC9FFB #FB9FEC #FB9FBE
triadic
#FB9FEC #ECFB9F #9FECFB
tetradic
#FB9FEC #FBDC9F #9FFBAE #9FBEFB
square
#FB9FEC #FBDC9F #9FFBAE #9FBEFB
split-complementary
#FB9FEC #BEFB9F #9FFBDC
monochromatic
#F629D5 #F964E0 #FB9FEC #FDDAF8 #FEE2F9

Accessibility & contrast

On white

1.86
#FB9FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.27
#FB9FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB9FEC
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB9FEC#FFFFFF#000000##000000
##FB9FEC1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6EF
Deuteranopia (green-blind)
#B5C3E9
Tritanopia (blue-blind)
#FFA4BB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #fb9fec;
/* rgb */ color: rgb(251, 159, 236);
/* oklch */ color: oklch(81.9% 0.145 332.9);
Tailwind
colors: {
  custom: {
    50: '#febdf2',
    500: '#fb9fec',
    950: '#000000',
  },
}
SCSS
$custom: #fb9fec;
$custom-light: #febdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb9fec",
  "rgb": {
    "r": 251,
    "g": 159,
    "b": 236
  },
  "hsl": {
    "h": 309.783,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.14489,
    "h": 332.9
  },
  "luminance": 0.51362
}

Semantic roles & 50–950 ramp

primary
#FB9FEC
secondary
#61DD75
accent
#E62500
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FB9FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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