#FB7FFD#FB7FFD

#FB7FFD is a light, highly saturated purple. Relative luminance 0.428; OKLCH L 78.0% C 0.212 H 326.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#FB7FFD
RGBrgb(251, 127, 253)
HSLhsl(299, 97%, 75%)
HSVhsv(299, 50%, 99%)
CMYKcmyk(0.8%, 49.8%, 0%, 0.8%)
CIE-LABlab(71.41, 63.99, -42.23)
CIE-LCHlch(71.41, 76.66, 326.58°)
OKLaboklab(78.01% 0.1772 -0.116)
OKLCHoklch(78.01% 0.212 326.8)
XYZxyz(65.1014, 42.7834, 97.7384)
Luminance0.4278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FFD #81FD7F
analogous
#BC7FFD #FB7FFD #FD7FC0
triadic
#FB7FFD #FDFB7F #7FFDFB
tetradic
#FB7FFD #FDBC7F #81FD7F #7FC0FD
square
#FB7FFD #FDBC7F #81FD7F #7FC0FD
split-complementary
#FB7FFD #C0FD7F #7FFDBC
monochromatic
#F706FB #F943FC #FB7FFD #FDBBFE #FEE1FF

Accessibility & contrast

On white

2.20
#FB7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#FB7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FFD
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FFD#FFFFFF#000000##000000
##FB7FFD1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#FF8DB3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb7ffd;
/* rgb */ color: rgb(251, 127, 253);
/* oklch */ color: oklch(78.0% 0.212 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa9fe',
    500: '#fb7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ffd;
$custom-light: #ffa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ffd",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 299.048,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78008,
    "c": 0.21178,
    "h": 326.8
  },
  "luminance": 0.4278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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