#FB7BEC#FB7BEC

#FB7BEC is a light, highly saturated purple. Relative luminance 0.407; OKLCH L 76.7% C 0.204 H 332.0°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#FB7BEC
RGBrgb(251, 123, 236)
HSLhsl(307, 94%, 73%)
HSVhsv(307, 51%, 98%)
CMYKcmyk(0%, 51%, 6%, 1.6%)
CIE-LABlab(69.99, 63.00, -35.13)
CIE-LCHlch(69.99, 72.13, 330.86°)
OKLaboklab(76.73% 0.1798 -0.0957)
OKLCHoklch(76.73% 0.204 332)
XYZxyz(62.0067, 40.7353, 83.9374)
Luminance0.4073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BEC #7BFB8A
analogous
#CA7BFB #FB7BEC #FB7BAC
triadic
#FB7BEC #ECFB7B #7BECFB
tetradic
#FB7BEC #FBCA7B #7BFB8A #7BACFB
square
#FB7BEC #FBCA7B #7BFB8A #7BACFB
split-complementary
#FB7BEC #ACFB7B #7BFBCA
monochromatic
#F407D8 #F940E3 #FB7BEC #FDB6F5 #FEE1FB

Accessibility & contrast

On white

2.30
#FB7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#FB7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BEC
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BEC#FFFFFF#000000##000000
##FB7BEC1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#9CB2E8
Tritanopia (blue-blind)
#FF84A9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7bec;
/* rgb */ color: rgb(251, 123, 236);
/* oklch */ color: oklch(76.7% 0.204 332.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6f2',
    500: '#fb7bec',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bec;
$custom-light: #ffa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bec",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 307.031,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76726,
    "c": 0.20366,
    "h": 332
  },
  "luminance": 0.40731
}

Semantic roles & 50–950 ramp

primary
#FB7BEC
secondary
#D5F6D9
accent
#E61B00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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