#FB7CFC#FB7CFC

#FB7CFC is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.6% C 0.215 H 327.1°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FB7CFC
RGBrgb(251, 124, 252)
HSLhsl(300, 96%, 74%)
HSVhsv(300, 51%, 99%)
CMYKcmyk(0.4%, 50.8%, 0%, 1.2%)
CIE-LABlab(70.84, 65.21, -42.57)
CIE-LCHlch(70.84, 77.87, 326.86°)
OKLaboklab(77.58% 0.1809 -0.117)
OKLCHoklch(77.58% 0.215 327.1)
XYZxyz(64.5609, 41.9564, 96.7744)
Luminance0.4195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CFC #7DFC7C
analogous
#BB7CFC #FB7CFC #FC7CBD
triadic
#FB7CFC #FCFB7C #7CFCFB
tetradic
#FB7CFC #FCBB7C #7DFC7C #7CBDFC
square
#FB7CFC #FCBB7C #7DFC7C #7CBDFC
split-complementary
#FB7CFC #BDFC7C #7CFCBB
monochromatic
#F606F8 #F940FB #FB7CFC #FDB8FD #FEE1FE

Accessibility & contrast

On white

2.24
#FB7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#FB7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CFC
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CFC#FFFFFF#000000##000000
##FB7CFC1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7cfc;
/* rgb */ color: rgb(251, 124, 252);
/* oklch */ color: oklch(77.6% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7fe',
    500: '#fb7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cfc;
$custom-light: #ffa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cfc",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 299.531,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77575,
    "c": 0.21546,
    "h": 327.1
  },
  "luminance": 0.41953
}

Semantic roles & 50–950 ramp

primary
#FB7CFC
secondary
#D5F7D4
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FB7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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