#FC7DEC#FC7DEC

#FC7DEC is a light, highly saturated purple. Relative luminance 0.414; OKLCH L 77.1% C 0.201 H 332.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#FC7DEC
RGBrgb(252, 125, 236)
HSLhsl(308, 95%, 74%)
HSVhsv(308, 50%, 99%)
CMYKcmyk(0%, 50.4%, 6.3%, 1.2%)
CIE-LABlab(70.47, 62.35, -34.37)
CIE-LCHlch(70.47, 71.19, 331.13°)
OKLaboklab(77.11% 0.1782 -0.0936)
OKLCHoklch(77.11% 0.201 332.3)
XYZxyz(62.6186, 41.4228, 84.0378)
Luminance0.4142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7DEC #7DFC8D
analogous
#CD7DFC #FC7DEC #FC7DAD
triadic
#FC7DEC #ECFC7D #7DECFC
tetradic
#FC7DEC #FCCD7D #7DFC8D #7DADFC
square
#FC7DEC #FCCD7D #7DFC8D #7DADFC
split-complementary
#FC7DEC #ADFC7D #7DFCCD
monochromatic
#F906DA #FB41E3 #FC7DEC #FDB9F5 #FEE1FB

Accessibility & contrast

On white

2.26
#FC7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#FC7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7DEC
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7DEC#FFFFFF#000000##000000
##FC7DEC1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#9EB3E8
Tritanopia (blue-blind)
#FF86AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7dec;
/* rgb */ color: rgb(252, 125, 236);
/* oklch */ color: oklch(77.1% 0.201 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7f2',
    500: '#fc7dec',
    950: '#000000',
  },
}
SCSS
$custom: #fc7dec;
$custom-light: #ffa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7dec",
  "rgb": {
    "r": 252,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 307.559,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77109,
    "c": 0.20123,
    "h": 332.3
  },
  "luminance": 0.41419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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