#FC7CEF#FC7CEF

#FC7CEF is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.205 H 331.3°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FC7CEF
RGBrgb(252, 124, 239)
HSLhsl(306, 96%, 74%)
HSVhsv(306, 51%, 99%)
CMYKcmyk(0%, 50.8%, 5.2%, 1.2%)
CIE-LABlab(70.42, 63.30, -36.10)
CIE-LCHlch(70.42, 72.87, 330.30°)
OKLaboklab(77.11% 0.18 -0.0985)
OKLCHoklch(77.11% 0.205 331.3)
XYZxyz(62.9321, 41.3467, 86.3106)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7CEF #7CFC89
analogous
#C97CFC #FC7CEF #FC7CAF
triadic
#FC7CEF #EFFC7C #7CEFFC
tetradic
#FC7CEF #FCC97C #7CFC89 #7CAFFC
square
#FC7CEF #FCC97C #7CFC89 #7CAFFC
split-complementary
#FC7CEF #AFFC7C #7CFCC9
monochromatic
#F806DF #FB40E8 #FC7CEF #FDB8F6 #FEE1FB

Accessibility & contrast

On white

2.27
#FC7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FC7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7CEF
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7CEF#FFFFFF#000000##000000
##FC7CEF1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#9CB3EB
Tritanopia (blue-blind)
#FF86AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7cef;
/* rgb */ color: rgb(252, 124, 239);
/* oklch */ color: oklch(77.1% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7f4',
    500: '#fc7cef',
    950: '#000000',
  },
}
SCSS
$custom: #fc7cef;
$custom-light: #ffa7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7cef",
  "rgb": {
    "r": 252,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 306.094,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.20519,
    "h": 331.3
  },
  "luminance": 0.41343
}

Semantic roles & 50–950 ramp

primary
#FC7CEF
secondary
#D4F7D8
accent
#E61700
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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