#FE7CF8#FE7CF8

#FE7CF8 is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.8% C 0.214 H 329.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#FE7CF8
RGBrgb(254, 124, 248)
HSLhsl(303, 98%, 74%)
HSVhsv(303, 51%, 100%)
CMYKcmyk(0%, 51.2%, 2.4%, 0.4%)
CIE-LABlab(71.05, 65.33, -40.02)
CIE-LCHlch(71.05, 76.61, 328.51°)
OKLaboklab(77.76% 0.1836 -0.1096)
OKLCHoklch(77.76% 0.214 329.2)
XYZxyz(65.0232, 42.2674, 93.5223)
Luminance0.4226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7CF8 #7CFE82
analogous
#C37CFE #FE7CF8 #FE7CB7
triadic
#FE7CF8 #F8FE7C #7CF8FE
tetradic
#FE7CF8 #FEC37C #7CFE82 #7CB7FE
square
#FE7CF8 #FEC37C #7CFE82 #7CB7FE
split-complementary
#FE7CF8 #B7FE7C #7CFEC3
monochromatic
#FD03F2 #FE3FF5 #FE7CF8 #FEB9FB #FFE1FD

Accessibility & contrast

On white

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

On black

9.45
#FE7CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7CF8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7CF8#FFFFFF#000000##000000
##FE7CF81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#9AB4F4
Tritanopia (blue-blind)
#FF89AF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7cf8;
/* rgb */ color: rgb(254, 124, 248);
/* oklch */ color: oklch(77.8% 0.214 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#fe7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #fe7cf8;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7cf8",
  "rgb": {
    "r": 254,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 302.769,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.21384,
    "h": 329.2
  },
  "luminance": 0.42263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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