#FB7DFF#FB7DFF

#FB7DFF is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 77.8% C 0.217 H 326.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FB7DFF
RGBrgb(251, 125, 255)
HSLhsl(298, 100%, 75%)
HSVhsv(298, 51%, 100%)
CMYKcmyk(1.6%, 51%, 0%, 0%)
CIE-LABlab(71.15, 65.26, -43.73)
CIE-LCHlch(71.15, 78.56, 326.18°)
OKLaboklab(77.84% 0.18 -0.1203)
OKLCHoklch(77.84% 0.217 326.2)
XYZxyz(65.1660, 42.4000, 99.3399)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DFF #81FF7D
analogous
#BA7DFF #FB7DFF #FF7DC2
triadic
#FB7DFF #FFFB7D #7DFFFB
tetradic
#FB7DFF #FFBA7D #81FF7D #7DC2FF
square
#FB7DFF #FFBA7D #81FF7D #7DC2FF
split-complementary
#FB7DFF #C2FF7D #7DFFBA
monochromatic
#F703FF #F940FF #FB7DFF #FDBAFF #FEE0FF

Accessibility & contrast

On white

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

On black

9.48
#FB7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DFF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DFF#FFFFFF#000000##000000
##FB7DFF1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb7dff;
/* rgb */ color: rgb(251, 125, 255);
/* oklch */ color: oklch(77.8% 0.217 326.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7ff',
    500: '#fb7dff',
    950: '#000000',
  },
}
SCSS
$custom: #fb7dff;
$custom-light: #ffa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7dff",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 298.154,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77843,
    "c": 0.21654,
    "h": 326.2
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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