#FC7EFB#FC7EFB

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

Color values

HEX#FC7EFB
RGBrgb(252, 126, 251)
HSLhsl(300, 95%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0%, 50%, 0.4%, 1.2%)
CIE-LABlab(71.27, 64.38, -41.34)
CIE-LCHlch(71.27, 76.51, 327.30°)
OKLaboklab(77.91% 0.1793 -0.1135)
OKLCHoklch(77.91% 0.212 327.7)
XYZxyz(65.0173, 42.5859, 96.0434)
Luminance0.4258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EFB #7EFC7F
analogous
#BE7EFC #FC7EFB #FC7EBC
triadic
#FC7EFB #FBFC7E #7EFBFC
tetradic
#FC7EFB #FCBE7E #7EFC7F #7EBCFC
square
#FC7EFB #FCBE7E #7EFC7F #7EBCFC
split-complementary
#FC7EFB #BCFC7E #7EFCBE
monochromatic
#F906F7 #FB42F9 #FC7EFB #FDBAFD #FEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FC7EFB#FFFFFF#000000##000000
##FC7EFB1.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)
#73A4FF
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#FF8CB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7efb;
/* rgb */ color: rgb(252, 126, 251);
/* oklch */ color: oklch(77.9% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8fd',
    500: '#fc7efb',
    950: '#000000',
  },
}
SCSS
$custom: #fc7efb;
$custom-light: #ffa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7efb",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 300.476,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77907,
    "c": 0.21216,
    "h": 327.7
  },
  "luminance": 0.42582
}

Semantic roles & 50–950 ramp

primary
#FC7EFB
secondary
#D4F7D5
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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