#FB7DFE#FB7DFE

#FB7DFE is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.8% C 0.216 H 326.5°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#FB7DFE
RGBrgb(251, 125, 254)
HSLhsl(299, 98%, 74%)
HSVhsv(299, 51%, 100%)
CMYKcmyk(1.2%, 50.8%, 0%, 0.4%)
CIE-LABlab(71.10, 65.09, -43.25)
CIE-LCHlch(71.10, 78.15, 326.40°)
OKLaboklab(77.8% 0.1799 -0.119)
OKLCHoklch(77.8% 0.216 326.5)
XYZxyz(65.0054, 42.3358, 98.4943)
Luminance0.4233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DFE #80FE7D
analogous
#BB7DFE #FB7DFE #FE7DC0
triadic
#FB7DFE #FEFB7D #7DFEFB
tetradic
#FB7DFE #FEBB7D #80FE7D #7DC0FE
square
#FB7DFE #FEBB7D #80FE7D #7DC0FE
split-complementary
#FB7DFE #C0FE7D #7DFEBB
monochromatic
#F704FD #F940FE #FB7DFE #FDBAFE #FEE1FF

Accessibility & contrast

On white

2.22
#FB7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#FB7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DFE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DFE#FFFFFF#000000##000000
##FB7DFE1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7dfe;
/* rgb */ color: rgb(251, 125, 254);
/* oklch */ color: oklch(77.8% 0.216 326.5);
Tailwind
colors: {
  custom: {
    50: '#ffa7ff',
    500: '#fb7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #fb7dfe;
$custom-light: #ffa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7dfe",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 298.605,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.21567,
    "h": 326.5
  },
  "luminance": 0.42332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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