#FC7DFD#FC7DFD

#FC7DFD is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.9% C 0.215 H 327.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#FC7DFD
RGBrgb(252, 125, 253)
HSLhsl(300, 97%, 74%)
HSVhsv(300, 51%, 99%)
CMYKcmyk(0.4%, 50.6%, 0%, 0.8%)
CIE-LABlab(71.19, 65.18, -42.56)
CIE-LCHlch(71.19, 77.85, 326.86°)
OKLaboklab(77.87% 0.1809 -0.117)
OKLCHoklch(77.87% 0.215 327.1)
XYZxyz(65.2070, 42.4582, 97.6701)
Luminance0.4245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7DFD #7EFD7D
analogous
#BC7DFD #FC7DFD #FD7DBE
triadic
#FC7DFD #FDFC7D #7DFDFC
tetradic
#FC7DFD #FDBC7D #7EFD7D #7DBEFD
square
#FC7DFD #FDBC7D #7EFD7D #7DBEFD
split-complementary
#FC7DFD #BEFD7D #7DFDBC
monochromatic
#F904FB #FB41FC #FC7DFD #FDB9FE #FEE1FF

Accessibility & contrast

On white

2.21
#FC7DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#FC7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7DFD
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7DFD#FFFFFF#000000##000000
##FC7DFD1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#FF8BB2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7dfd;
/* rgb */ color: rgb(252, 125, 253);
/* oklch */ color: oklch(77.9% 0.215 327.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7fe',
    500: '#fc7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #fc7dfd;
$custom-light: #ffa7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7dfd",
  "rgb": {
    "r": 252,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 299.531,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.21538,
    "h": 327.1
  },
  "luminance": 0.42455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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