#FC8CEF#FC8CEF

#FC8CEF is a light, vivid purple. Relative luminance 0.457; OKLCH L 79.3% C 0.180 H 331.5°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#FC8CEF
RGBrgb(252, 140, 239)
HSLhsl(307, 95%, 77%)
HSVhsv(307, 44%, 99%)
CMYKcmyk(0%, 44.4%, 5.2%, 1.2%)
CIE-LABlab(73.34, 55.65, -31.57)
CIE-LCHlch(73.34, 63.98, 330.43°)
OKLaboklab(79.28% 0.1581 -0.0858)
OKLCHoklch(79.28% 0.18 331.5)
XYZxyz(65.1024, 45.6873, 87.0341)
Luminance0.4568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC8CEF #8CFC99
analogous
#D18CFC #FC8CEF #FC8CB7
triadic
#FC8CEF #EFFC8C #8CEFFC
tetradic
#FC8CEF #FCD18C #8CFC99 #8CB7FC
square
#FC8CEF #FCD18C #8CFC99 #8CB7FC
split-complementary
#FC8CEF #B7FC8C #8CFCD1
monochromatic
#F915DE #FA50E7 #FC8CEF #FEC8F7 #FEE1FB

Accessibility & contrast

On white

2.07
#FC8CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#FC8CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC8CEF
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC8CEF#FFFFFF#000000##000000
##FC8CEF1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AAF2
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#FF94B3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fc8cef;
/* rgb */ color: rgb(252, 140, 239);
/* oklch */ color: oklch(79.3% 0.180 331.5);
Tailwind
colors: {
  custom: {
    50: '#ffb0f4',
    500: '#fc8cef',
    950: '#000000',
  },
}
SCSS
$custom: #fc8cef;
$custom-light: #ffb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fc8cef",
  "rgb": {
    "r": 252,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 306.964,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.79282,
    "c": 0.17987,
    "h": 331.5
  },
  "luminance": 0.45684
}

Semantic roles & 50–950 ramp

primary
#FC8CEF
secondary
#D5F6D8
accent
#E61B00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FC8CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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