#FC7DFC#FC7DFC

#FC7DFC is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 77.8% C 0.215 H 327.4°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FC7DFC
RGBrgb(252, 125, 252)
HSLhsl(300, 95%, 74%)
HSVhsv(300, 50%, 99%)
CMYKcmyk(0%, 50.4%, 0%, 1.2%)
CIE-LABlab(71.14, 65.01, -42.09)
CIE-LCHlch(71.14, 77.45, 327.08°)
OKLaboklab(77.82% 0.1807 -0.1156)
OKLCHoklch(77.82% 0.215 327.4)
XYZxyz(65.0481, 42.3946, 96.8333)
Luminance0.4239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7DFC #7DFC7D
analogous
#BD7DFC #FC7DFC #FC7DBD
triadic
#FC7DFC #FCFC7D #7DFCFC
tetradic
#FC7DFC #FCBD7D #7DFC7D #7DBDFC
square
#FC7DFC #FCBD7D #7DFC7D #7DBDFC
split-complementary
#FC7DFC #BDFC7D #7DFCBD
monochromatic
#F906F9 #FB41FB #FC7DFC #FDB9FD #FEE1FE

Accessibility & contrast

On white

2.22
#FC7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FC7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7DFC
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7DFC#FFFFFF#000000##000000
##FC7DFC1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7dfc;
/* rgb */ color: rgb(252, 125, 252);
/* oklch */ color: oklch(77.8% 0.215 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7fe',
    500: '#fc7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #fc7dfc;
$custom-light: #ffa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7dfc",
  "rgb": {
    "r": 252,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 300,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77824,
    "c": 0.21452,
    "h": 327.4
  },
  "luminance": 0.42391
}

Semantic roles & 50–950 ramp

primary
#FC7DFC
secondary
#D4F7D4
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FC7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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