#FB7FFC#FB7FFC

#FB7FFC is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 78.0% C 0.211 H 327.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#FB7FFC
RGBrgb(251, 127, 252)
HSLhsl(300, 95%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0.4%, 49.6%, 0%, 1.2%)
CIE-LABlab(71.36, 63.82, -41.75)
CIE-LCHlch(71.36, 76.26, 326.81°)
OKLaboklab(77.96% 0.177 -0.1147)
OKLCHoklch(77.96% 0.211 327.1)
XYZxyz(64.9426, 42.7198, 96.9016)
Luminance0.4272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FFC #80FC7F
analogous
#BD7FFC #FB7FFC #FC7FBF
triadic
#FB7FFC #FCFB7F #7FFCFB
tetradic
#FB7FFC #FCBD7F #80FC7F #7FBFFC
square
#FB7FFC #FCBD7F #80FC7F #7FBFFC
split-complementary
#FB7FFC #BFFC7F #7FFCBD
monochromatic
#F707F9 #F943FB #FB7FFC #FDBBFD #FEE1FE

Accessibility & contrast

On white

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

On black

9.54
#FB7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FFC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FFC#FFFFFF#000000##000000
##FB7FFC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#FF8DB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb7ffc;
/* rgb */ color: rgb(251, 127, 252);
/* oklch */ color: oklch(78.0% 0.211 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa9fe',
    500: '#fb7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ffc;
$custom-light: #ffa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ffc",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 299.52,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77962,
    "c": 0.21091,
    "h": 327.1
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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