#FC7EF8#FC7EF8

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

Color values

HEX#FC7EF8
RGBrgb(252, 126, 248)
HSLhsl(302, 95%, 74%)
HSVhsv(302, 50%, 99%)
CMYKcmyk(0%, 50%, 1.6%, 1.2%)
CIE-LABlab(71.14, 63.87, -39.90)
CIE-LCHlch(71.14, 75.31, 328.01°)
OKLaboklab(77.77% 0.1788 -0.1093)
OKLCHoklch(77.77% 0.21 328.6)
XYZxyz(64.5481, 42.3982, 93.5725)
Luminance0.4239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7EF8 #7EFC82
analogous
#C17EFC #FC7EF8 #FC7EB9
triadic
#FC7EF8 #F8FC7E #7EF8FC
tetradic
#FC7EF8 #FCC17E #7EFC82 #7EB9FC
square
#FC7EF8 #FCC17E #7EFC82 #7EB9FC
split-complementary
#FC7EF8 #B9FC7E #7EFCC1
monochromatic
#F906F2 #FB42F5 #FC7EF8 #FDBAFB #FEE1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FC7EF8#FFFFFF#000000##000000
##FC7EF81.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)
#74A3FC
Deuteranopia (green-blind)
#9AB4F4
Tritanopia (blue-blind)
#FF8BB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fc7ef8;
/* rgb */ color: rgb(252, 126, 248);
/* oklch */ color: oklch(77.8% 0.210 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8fb',
    500: '#fc7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #fc7ef8;
$custom-light: #ffa8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7ef8",
  "rgb": {
    "r": 252,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 301.905,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7777,
    "c": 0.2096,
    "h": 328.6
  },
  "luminance": 0.42394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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