#FB7EFC#FB7EFC

#FB7EFC is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.8% C 0.212 H 327.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#FB7EFC
RGBrgb(251, 126, 252)
HSLhsl(300, 95%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0.4%, 50%, 0%, 1.2%)
CIE-LABlab(71.19, 64.28, -42.02)
CIE-LCHlch(71.19, 76.80, 326.83°)
OKLaboklab(77.83% 0.1783 -0.1154)
OKLCHoklch(77.83% 0.212 327.1)
XYZxyz(64.8141, 42.4628, 96.8588)
Luminance0.4246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EFC #7FFC7E
analogous
#BC7EFC #FB7EFC #FC7EBE
triadic
#FB7EFC #FCFB7E #7EFCFB
tetradic
#FB7EFC #FCBC7E #7FFC7E #7EBEFC
square
#FB7EFC #FCBC7E #7FFC7E #7EBEFC
split-complementary
#FB7EFC #BEFC7E #7EFCBC
monochromatic
#F706F9 #F942FB #FB7EFC #FDBAFD #FEE1FE

Accessibility & contrast

On white

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

On black

9.49
#FB7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EFC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EFC#FFFFFF#000000##000000
##FB7EFC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fb7efc;
/* rgb */ color: rgb(251, 126, 252);
/* oklch */ color: oklch(77.8% 0.212 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa8fe',
    500: '#fb7efc',
    950: '#000000',
  },
}
SCSS
$custom: #fb7efc;
$custom-light: #ffa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7efc",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 299.524,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77832,
    "c": 0.21243,
    "h": 327.1
  },
  "luminance": 0.42459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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