#FC7EEC#FC7EEC

#FC7EEC is a light, vivid purple. Relative luminance 0.417; OKLCH L 77.2% C 0.200 H 332.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#FC7EEC
RGBrgb(252, 126, 236)
HSLhsl(308, 95%, 74%)
HSVhsv(308, 50%, 99%)
CMYKcmyk(0%, 50%, 6.3%, 1.2%)
CIE-LABlab(70.65, 61.88, -34.10)
CIE-LCHlch(70.65, 70.65, 331.15°)
OKLaboklab(77.24% 0.1768 -0.0928)
OKLCHoklch(77.24% 0.2 332.3)
XYZxyz(62.7458, 41.6773, 84.0802)
Luminance0.4167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EEC #7EFC8E
analogous
#CD7EFC #FC7EEC #FC7EAD
triadic
#FC7EEC #ECFC7E #7EECFC
tetradic
#FC7EEC #FCCD7E #7EFC8E #7EADFC
square
#FC7EEC #FCCD7E #7EFC8E #7EADFC
split-complementary
#FC7EEC #ADFC7E #7EFCCD
monochromatic
#F906DA #FB42E3 #FC7EEC #FDBAF5 #FEE1FB

Accessibility & contrast

On white

2.25
#FC7EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#FC7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7EEC
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7EEC#FFFFFF#000000##000000
##FC7EEC1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#9FB3E8
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7eec;
/* rgb */ color: rgb(252, 126, 236);
/* oklch */ color: oklch(77.2% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8f2',
    500: '#fc7eec',
    950: '#000000',
  },
}
SCSS
$custom: #fc7eec;
$custom-light: #ffa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7eec",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 307.619,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7724,
    "c": 0.19969,
    "h": 332.3
  },
  "luminance": 0.41673
}

Semantic roles & 50–950 ramp

primary
#FC7EEC
secondary
#D4F7D9
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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