#FC7CEE#FC7CEE

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

Color values

HEX#FC7CEE
RGBrgb(252, 124, 238)
HSLhsl(307, 96%, 74%)
HSVhsv(307, 51%, 99%)
CMYKcmyk(0%, 50.8%, 5.6%, 1.2%)
CIE-LABlab(70.38, 63.14, -35.61)
CIE-LCHlch(70.38, 72.49, 330.57°)
OKLaboklab(77.07% 0.1799 -0.0971)
OKLCHoklch(77.07% 0.204 331.6)
XYZxyz(62.7848, 41.2878, 85.5347)
Luminance0.4128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7CEE #7CFC8A
analogous
#CA7CFC #FC7CEE #FC7CAE
triadic
#FC7CEE #EEFC7C #7CEEFC
tetradic
#FC7CEE #FCCA7C #7CFC8A #7CAEFC
square
#FC7CEE #FCCA7C #7CFC8A #7CAEFC
split-complementary
#FC7CEE #AEFC7C #7CFCCA
monochromatic
#F806DD #FB40E6 #FC7CEE #FDB8F6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.26
#FC7CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7CEE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7CEE#FFFFFF#000000##000000
##FC7CEE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#9DB3EA
Tritanopia (blue-blind)
#FF86AA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7cee;
/* rgb */ color: rgb(252, 124, 238);
/* oklch */ color: oklch(77.1% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7f4',
    500: '#fc7cee',
    950: '#000000',
  },
}
SCSS
$custom: #fc7cee;
$custom-light: #ffa7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7cee",
  "rgb": {
    "r": 252,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 306.563,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77066,
    "c": 0.20438,
    "h": 331.6
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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