#FB7EFD#FB7EFD

#FB7EFD is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.9% C 0.213 H 326.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFD
RGBrgb(251, 126, 253)
HSLhsl(299, 97%, 74%)
HSVhsv(299, 50%, 99%)
CMYKcmyk(0.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(71.23, 64.45, -42.50)
CIE-LCHlch(71.23, 77.20, 326.60°)
OKLaboklab(77.88% 0.1785 -0.1168)
OKLCHoklch(77.88% 0.213 326.8)
XYZxyz(64.9729, 42.5264, 97.6956)
Luminance0.4252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFD #80FD7E
analogous
#BC7EFD #FB7EFD #FD7EC0
triadic
#FB7EFD #FDFB7E #7EFDFB
tetradic
#FB7EFD #FDBC7E #80FD7E #7EC0FD
square
#FB7EFD #FDBC7E #80FD7E #7EC0FD
split-complementary
#FB7EFD #C0FD7E #7EFDBC
monochromatic
#F705FB #F942FC #FB7EFD #FDBAFE #FEE1FF

Accessibility & contrast

On white

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

On black

9.50
#FB7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFD
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFD#FFFFFF#000000##000000
##FB7EFD1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7efd;
/* rgb */ color: rgb(251, 126, 253);
/* oklch */ color: oklch(77.9% 0.213 326.8);
Tailwind
colors: {
  custom: {
    50: '#ffa8fe',
    500: '#fb7efd',
    950: '#000000',
  },
}
SCSS
$custom: #fb7efd;
$custom-light: #ffa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7efd",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 299.055,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77878,
    "c": 0.2133,
    "h": 326.8
  },
  "luminance": 0.42523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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