#FC7EFC#FC7EFC

#FC7EFC is a light, highly saturated purple. Relative luminance 0.426; OKLCH L 78.0% C 0.213 H 327.4°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#FC7EFC
RGBrgb(252, 126, 252)
HSLhsl(300, 95%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0%, 50%, 0%, 1.2%)
CIE-LABlab(71.32, 64.55, -41.81)
CIE-LCHlch(71.32, 76.91, 327.06°)
OKLaboklab(77.95% 0.1794 -0.1148)
OKLCHoklch(77.95% 0.213 327.4)
XYZxyz(65.1753, 42.6491, 96.8757)
Luminance0.4264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EFC #7EFC7E
analogous
#BD7EFC #FC7EFC #FC7EBD
triadic
#FC7EFC #FCFC7E #7EFCFC
tetradic
#FC7EFC #FCBD7E #7EFC7E #7EBDFC
square
#FC7EFC #FCBD7E #7EFC7E #7EBDFC
split-complementary
#FC7EFC #BDFC7E #7EFCBD
monochromatic
#F906F9 #FB42FB #FC7EFC #FDBAFD #FEE1FE

Accessibility & contrast

On white

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

On black

9.53
#FC7EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7EFC
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7EFC#FFFFFF#000000##000000
##FC7EFC1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fc7efc;
/* rgb */ color: rgb(252, 126, 252);
/* oklch */ color: oklch(78.0% 0.213 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8fe',
    500: '#fc7efc',
    950: '#000000',
  },
}
SCSS
$custom: #fc7efc;
$custom-light: #ffa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7efc",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 300,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77952,
    "c": 0.21301,
    "h": 327.4
  },
  "luminance": 0.42645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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