#FC7EFD#FC7EFD

#FC7EFD is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 78.0% C 0.214 H 327.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#FC7EFD
RGBrgb(252, 126, 253)
HSLhsl(300, 97%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0.4%, 50.2%, 0%, 0.8%)
CIE-LABlab(71.36, 64.72, -42.29)
CIE-LCHlch(71.36, 77.31, 326.84°)
OKLaboklab(78% 0.1795 -0.1162)
OKLCHoklch(78% 0.214 327.1)
XYZxyz(65.3342, 42.7126, 97.7125)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EFD #7FFD7E
analogous
#BD7EFD #FC7EFD #FD7EBE
triadic
#FC7EFD #FDFC7E #7EFDFC
tetradic
#FC7EFD #FDBD7E #7FFD7E #7EBEFD
square
#FC7EFD #FDBD7E #7FFD7E #7EBEFD
split-complementary
#FC7EFD #BEFD7E #7EFDBD
monochromatic
#F905FB #FB42FC #FC7EFD #FDBAFE #FEE1FF

Accessibility & contrast

On white

2.20
#FC7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#FC7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7EFD
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7EFD#FFFFFF#000000##000000
##FC7EFD1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#FF8CB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fc7efd;
/* rgb */ color: rgb(252, 126, 253);
/* oklch */ color: oklch(78.0% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa8fe',
    500: '#fc7efd',
    950: '#000000',
  },
}
SCSS
$custom: #fc7efd;
$custom-light: #ffa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7efd",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 299.528,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77999,
    "c": 0.21387,
    "h": 327.1
  },
  "luminance": 0.42709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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