#FE7DF8#FE7DF8

#FE7DF8 is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.9% C 0.212 H 329.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#FE7DF8
RGBrgb(254, 125, 248)
HSLhsl(303, 98%, 74%)
HSVhsv(303, 51%, 100%)
CMYKcmyk(0%, 50.8%, 2.4%, 0.4%)
CIE-LABlab(71.23, 64.87, -39.75)
CIE-LCHlch(71.23, 76.08, 328.50°)
OKLaboklab(77.88% 0.1823 -0.1089)
OKLCHoklch(77.88% 0.212 329.2)
XYZxyz(65.1492, 42.5193, 93.5643)
Luminance0.4251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DF8 #7DFE83
analogous
#C47DFE #FE7DF8 #FE7DB8
triadic
#FE7DF8 #F8FE7D #7DF8FE
tetradic
#FE7DF8 #FEC47D #7DFE83 #7DB8FE
square
#FE7DF8 #FEC47D #7DFE83 #7DB8FE
split-complementary
#FE7DF8 #B8FE7D #7DFEC4
monochromatic
#FD04F1 #FE40F5 #FE7DF8 #FEBAFB #FFE1FD

Accessibility & contrast

On white

2.21
#FE7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#FE7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DF8
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DF8#FFFFFF#000000##000000
##FE7DF81.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#9BB5F4
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7df8;
/* rgb */ color: rgb(254, 125, 248);
/* oklch */ color: oklch(77.9% 0.212 329.2);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#fe7df8',
    950: '#000000',
  },
}
SCSS
$custom: #fe7df8;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7df8",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 302.791,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77884,
    "c": 0.21233,
    "h": 329.2
  },
  "luminance": 0.42515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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