#FC7EF2#FC7EF2

#FC7EF2 is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.205 H 330.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#FC7EF2
RGBrgb(252, 126, 242)
HSLhsl(305, 95%, 74%)
HSVhsv(305, 50%, 99%)
CMYKcmyk(0%, 50%, 4%, 1.2%)
CIE-LABlab(70.89, 62.87, -37.01)
CIE-LCHlch(70.89, 72.95, 329.52°)
OKLaboklab(77.5% 0.1779 -0.1011)
OKLCHoklch(77.5% 0.205 330.4)
XYZxyz(63.6322, 42.0318, 88.7485)
Luminance0.4203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EF2 #7EFC88
analogous
#C77EFC #FC7EF2 #FC7EB3
triadic
#FC7EF2 #F2FC7E #7EF2FC
tetradic
#FC7EF2 #FCC77E #7EFC88 #7EB3FC
square
#FC7EF2 #FCC77E #7EFC88 #7EB3FC
split-complementary
#FC7EF2 #B3FC7E #7EFCC7
monochromatic
#F906E6 #FB42EC #FC7EF2 #FDBAF8 #FEE1FC

Accessibility & contrast

On white

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

On black

9.41
#FC7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7EF2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7EF2#FFFFFF#000000##000000
##FC7EF21.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#9CB4EE
Tritanopia (blue-blind)
#FF89AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7ef2;
/* rgb */ color: rgb(252, 126, 242);
/* oklch */ color: oklch(77.5% 0.205 330.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8f6',
    500: '#fc7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #fc7ef2;
$custom-light: #ffa8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7ef2",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 304.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77501,
    "c": 0.20458,
    "h": 330.4
  },
  "luminance": 0.42028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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