#FC7DF2#FC7DF2

#FC7DF2 is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.206 H 330.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#FC7DF2
RGBrgb(252, 125, 242)
HSLhsl(305, 95%, 74%)
HSVhsv(305, 50%, 99%)
CMYKcmyk(0%, 50.4%, 4%, 1.2%)
CIE-LABlab(70.72, 63.33, -37.28)
CIE-LCHlch(70.72, 73.49, 329.52°)
OKLaboklab(77.37% 0.1792 -0.1018)
OKLCHoklch(77.37% 0.206 330.4)
XYZxyz(63.5050, 41.7774, 88.7061)
Luminance0.4177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7DF2 #7DFC87
analogous
#C77DFC #FC7DF2 #FC7DB3
triadic
#FC7DF2 #F2FC7D #7DF2FC
tetradic
#FC7DF2 #FCC77D #7DFC87 #7DB3FC
square
#FC7DF2 #FCC77D #7DFC87 #7DB3FC
split-complementary
#FC7DF2 #B3FC7D #7DFCC7
monochromatic
#F906E6 #FB41EC #FC7DF2 #FDB9F8 #FEE1FC

Accessibility & contrast

On white

2.24
#FC7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#FC7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7DF2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7DF2#FFFFFF#000000##000000
##FC7DF21.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#9CB3EE
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7df2;
/* rgb */ color: rgb(252, 125, 242);
/* oklch */ color: oklch(77.4% 0.206 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fc7df2',
    950: '#000000',
  },
}
SCSS
$custom: #fc7df2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7df2",
  "rgb": {
    "r": 252,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 304.724,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77371,
    "c": 0.20612,
    "h": 330.4
  },
  "luminance": 0.41773
}

Semantic roles & 50–950 ramp

primary
#FC7DF2
secondary
#D4F7D7
accent
#E61200
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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