#FB7FFB#FB7FFB

#FB7FFB is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 77.9% C 0.210 H 327.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#FB7FFB
RGBrgb(251, 127, 251)
HSLhsl(300, 94%, 74%)
HSVhsv(300, 49%, 98%)
CMYKcmyk(0%, 49.4%, 0%, 1.6%)
CIE-LABlab(71.32, 63.64, -41.27)
CIE-LCHlch(71.32, 75.85, 327.04°)
OKLaboklab(77.92% 0.1769 -0.1133)
OKLCHoklch(77.92% 0.21 327.4)
XYZxyz(64.7845, 42.6566, 96.0693)
Luminance0.4265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FFB #7FFB7F
analogous
#BD7FFB #FB7FFB #FB7FBD
triadic
#FB7FFB #FBFB7F #7FFBFB
tetradic
#FB7FFB #FBBD7F #7FFB7F #7FBDFB
square
#FB7FFB #FBBD7F #7FFB7F #7FBDFB
split-complementary
#FB7FFB #BDFB7F #7FFBBD
monochromatic
#F708F7 #F944F9 #FB7FFB #FDBAFD #FEE1FE

Accessibility & contrast

On white

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

On black

9.53
#FB7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FFB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FFB#FFFFFF#000000##000000
##FB7FFB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb7ffb;
/* rgb */ color: rgb(251, 127, 251);
/* oklch */ color: oklch(77.9% 0.210 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa9fd',
    500: '#fb7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ffb;
$custom-light: #ffa9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ffb",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 300,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77916,
    "c": 0.21005,
    "h": 327.4
  },
  "luminance": 0.42653
}

Semantic roles & 50–950 ramp

primary
#FB7FFB
secondary
#D5F6D5
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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