#FC8DF2#FC8DF2

#FC8DF2 is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.5% C 0.181 H 330.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#FC8DF2
RGBrgb(252, 141, 242)
HSLhsl(305, 95%, 77%)
HSVhsv(305, 44%, 99%)
CMYKcmyk(0%, 44%, 4%, 1.2%)
CIE-LABlab(73.65, 55.66, -32.74)
CIE-LCHlch(73.65, 64.58, 329.54°)
OKLaboklab(79.55% 0.1573 -0.0891)
OKLCHoklch(79.55% 0.181 330.5)
XYZxyz(65.6961, 46.1596, 89.4365)
Luminance0.4616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC8DF2 #8DFC97
analogous
#CE8DFC #FC8DF2 #FC8DBB
triadic
#FC8DF2 #F2FC8D #8DF2FC
tetradic
#FC8DF2 #FCCE8D #8DFC97 #8DBBFC
square
#FC8DF2 #FCCE8D #8DFC97 #8DBBFC
split-complementary
#FC8DF2 #BBFC8D #8DFCCE
monochromatic
#F916E4 #FA51EB #FC8DF2 #FEC9F9 #FEE1FC

Accessibility & contrast

On white

2.05
#FC8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#FC8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC8DF2
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC8DF2#FFFFFF#000000##000000
##FC8DF21.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A7BAEF
Tritanopia (blue-blind)
#FF95B4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #fc8df2;
/* rgb */ color: rgb(252, 141, 242);
/* oklch */ color: oklch(79.5% 0.181 330.5);
Tailwind
colors: {
  custom: {
    50: '#ffb1f6',
    500: '#fc8df2',
    950: '#000000',
  },
}
SCSS
$custom: #fc8df2;
$custom-light: #ffb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc8df2",
  "rgb": {
    "r": 252,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 305.405,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79549,
    "c": 0.18079,
    "h": 330.5
  },
  "luminance": 0.46156
}

Semantic roles & 50–950 ramp

primary
#FC8DF2
secondary
#D5F6D8
accent
#E61500
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FC8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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