#FB7CFD#FB7CFD

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

Color values

HEX#FB7CFD
RGBrgb(251, 124, 253)
HSLhsl(299, 97%, 74%)
HSVhsv(299, 51%, 99%)
CMYKcmyk(0.8%, 51%, 0%, 0.8%)
CIE-LABlab(70.88, 65.38, -43.04)
CIE-LCHlch(70.88, 78.28, 326.64°)
OKLaboklab(77.62% 0.1811 -0.1184)
OKLCHoklch(77.62% 0.216 326.8)
XYZxyz(64.7198, 42.0200, 97.6112)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CFD #7EFD7C
analogous
#BB7CFD #FB7CFD #FD7CBF
triadic
#FB7CFD #FDFB7C #7CFDFB
tetradic
#FB7CFD #FDBB7C #7EFD7C #7CBFFD
square
#FB7CFD #FDBB7C #7EFD7C #7CBFFD
split-complementary
#FB7CFD #BFFD7C #7CFDBB
monochromatic
#F704FB #F940FC #FB7CFD #FDB8FE #FEE1FF

Accessibility & contrast

On white

2.23
#FB7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#FB7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CFD
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CFD#FFFFFF#000000##000000
##FB7CFD1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb7cfd;
/* rgb */ color: rgb(251, 124, 253);
/* oklch */ color: oklch(77.6% 0.216 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa7fe',
    500: '#fb7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cfd;
$custom-light: #ffa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cfd",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 299.07,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77622,
    "c": 0.21632,
    "h": 326.8
  },
  "luminance": 0.42016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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