#FB7FFE#FB7FFE

#FB7FFE is a light, highly saturated purple. Relative luminance 0.428; OKLCH L 78.1% C 0.213 H 326.5°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#FB7FFE
RGBrgb(251, 127, 254)
HSLhsl(299, 98%, 75%)
HSVhsv(299, 50%, 100%)
CMYKcmyk(1.2%, 50%, 0%, 0.4%)
CIE-LABlab(71.45, 64.16, -42.70)
CIE-LCHlch(71.45, 77.07, 326.35°)
OKLaboklab(78.05% 0.1773 -0.1174)
OKLCHoklch(78.05% 0.213 326.5)
XYZxyz(65.2612, 42.8473, 98.5796)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FFE #82FE7F
analogous
#BC7FFE #FB7FFE #FE7FC1
triadic
#FB7FFE #FEFB7F #7FFEFB
tetradic
#FB7FFE #FEBC7F #82FE7F #7FC1FE
square
#FB7FFE #FEBC7F #82FE7F #7FC1FE
split-complementary
#FB7FFE #C1FE7F #7FFEBC
monochromatic
#F706FD #F942FE #FB7FFE #FDBCFE #FEE1FF

Accessibility & contrast

On white

2.19
#FB7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#FB7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FFE
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FFE#FFFFFF#000000##000000
##FB7FFE1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fb7ffe;
/* rgb */ color: rgb(251, 127, 254);
/* oklch */ color: oklch(78.1% 0.213 326.5);
Tailwind
colors: {
  custom: {
    50: '#ffa9ff',
    500: '#fb7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ffe;
$custom-light: #ffa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ffe",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 298.583,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78054,
    "c": 0.21265,
    "h": 326.5
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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