#FC7DF8#FC7DF8

#FC7DF8 is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.6% C 0.211 H 328.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#FC7DF8
RGBrgb(252, 125, 248)
HSLhsl(302, 95%, 74%)
HSVhsv(302, 50%, 99%)
CMYKcmyk(0%, 50.4%, 1.6%, 1.2%)
CIE-LABlab(70.97, 64.33, -40.17)
CIE-LCHlch(70.97, 75.85, 328.02°)
OKLaboklab(77.64% 0.1801 -0.1101)
OKLCHoklch(77.64% 0.211 328.6)
XYZxyz(64.4209, 42.1438, 93.5301)
Luminance0.4214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7DF8 #7DFC81
analogous
#C17DFC #FC7DF8 #FC7DB9
triadic
#FC7DF8 #F8FC7D #7DF8FC
tetradic
#FC7DF8 #FCC17D #7DFC81 #7DB9FC
square
#FC7DF8 #FCC17D #7DFC81 #7DB9FC
split-complementary
#FC7DF8 #B9FC7D #7DFCC1
monochromatic
#F906F1 #FB41F5 #FC7DF8 #FDB9FB #FEE1FD

Accessibility & contrast

On white

2.23
#FC7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#FC7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7DF8
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7DF8#FFFFFF#000000##000000
##FC7DF81.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#99B4F4
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7df8;
/* rgb */ color: rgb(252, 125, 248);
/* oklch */ color: oklch(77.6% 0.211 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#fc7df8',
    950: '#000000',
  },
}
SCSS
$custom: #fc7df8;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7df8",
  "rgb": {
    "r": 252,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 301.89,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77641,
    "c": 0.21113,
    "h": 328.6
  },
  "luminance": 0.4214
}

Semantic roles & 50–950 ramp

primary
#FC7DF8
secondary
#D4F7D6
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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