#FC7FEA#FC7FEA

#FC7FEA is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.3% C 0.197 H 333.0°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#FC7FEA
RGBrgb(252, 127, 234)
HSLhsl(309, 95%, 74%)
HSVhsv(309, 50%, 99%)
CMYKcmyk(0%, 49.6%, 7.1%, 1.2%)
CIE-LABlab(70.75, 61.09, -32.84)
CIE-LCHlch(70.75, 69.36, 331.74°)
OKLaboklab(77.29% 0.1751 -0.0892)
OKLCHoklch(77.29% 0.197 333)
XYZxyz(62.5854, 41.8187, 82.6013)
Luminance0.4182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7FEA #7FFC91
analogous
#D07FFC #FC7FEA #FC7FAC
triadic
#FC7FEA #EAFC7F #7FEAFC
tetradic
#FC7FEA #FCD07F #7FFC91 #7FACFC
square
#FC7FEA #FCD07F #7FFC91 #7FACFC
split-complementary
#FC7FEA #ACFC7F #7FFCD0
monochromatic
#F907D6 #FB43E0 #FC7FEA #FDBBF4 #FEE1FA

Accessibility & contrast

On white

2.24
#FC7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#FC7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7FEA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7FEA#FFFFFF#000000##000000
##FC7FEA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#A0B4E6
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7fea;
/* rgb */ color: rgb(252, 127, 234);
/* oklch */ color: oklch(77.3% 0.197 333.0);
Tailwind
colors: {
  custom: {
    50: '#ffa8f1',
    500: '#fc7fea',
    950: '#000000',
  },
}
SCSS
$custom: #fc7fea;
$custom-light: #ffa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7fea",
  "rgb": {
    "r": 252,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 308.64,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77286,
    "c": 0.19652,
    "h": 333
  },
  "luminance": 0.41815
}

Semantic roles & 50–950 ramp

primary
#FC7FEA
secondary
#D4F7D9
accent
#E62100
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FC7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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