#FB7EFE#FB7EFE

#FB7EFE is a light, highly saturated purple. Relative luminance 0.426; OKLCH L 77.9% C 0.214 H 326.5°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFE
RGBrgb(251, 126, 254)
HSLhsl(299, 98%, 75%)
HSVhsv(299, 50%, 100%)
CMYKcmyk(1.2%, 50.4%, 0%, 0.4%)
CIE-LABlab(71.28, 64.63, -42.98)
CIE-LCHlch(71.28, 77.61, 326.38°)
OKLaboklab(77.93% 0.1786 -0.1182)
OKLCHoklch(77.93% 0.214 326.5)
XYZxyz(65.1327, 42.5903, 98.5367)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFE #81FE7E
analogous
#BB7EFE #FB7EFE #FE7EC1
triadic
#FB7EFE #FEFB7E #7EFEFB
tetradic
#FB7EFE #FEBB7E #81FE7E #7EC1FE
square
#FB7EFE #FEBB7E #81FE7E #7EC1FE
split-complementary
#FB7EFE #C1FE7E #7EFEBB
monochromatic
#F705FD #F941FE #FB7EFE #FDBBFE #FEE1FF

Accessibility & contrast

On white

2.21
#FB7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#FB7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFE
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFE#FFFFFF#000000##000000
##FB7EFE1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#FF8DB3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7efe;
/* rgb */ color: rgb(251, 126, 254);
/* oklch */ color: oklch(77.9% 0.214 326.5);
Tailwind
colors: {
  custom: {
    50: '#ffa8ff',
    500: '#fb7efe',
    950: '#000000',
  },
}
SCSS
$custom: #fb7efe;
$custom-light: #ffa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7efe",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 298.594,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77925,
    "c": 0.21417,
    "h": 326.5
  },
  "luminance": 0.42587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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