#FE8DF7#FE8DF7

#FE8DF7 is a light, vivid purple. Relative luminance 0.468; OKLCH L 80.0% C 0.186 H 329.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#FE8DF7
RGBrgb(254, 141, 247)
HSLhsl(304, 98%, 77%)
HSVhsv(304, 44%, 100%)
CMYKcmyk(0%, 44.5%, 2.8%, 0.4%)
CIE-LABlab(74.09, 57.09, -34.76)
CIE-LCHlch(74.09, 66.84, 328.66°)
OKLaboklab(79.99% 0.1605 -0.0948)
OKLCHoklch(79.99% 0.186 329.4)
XYZxyz(67.1856, 46.8396, 93.4797)
Luminance0.4684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE8DF7 #8DFE94
analogous
#CD8DFE #FE8DF7 #FE8DBE
triadic
#FE8DF7 #F7FE8D #8DF7FE
tetradic
#FE8DF7 #FECD8D #8DFE94 #8DBEFE
square
#FE8DF7 #FECD8D #8DFE94 #8DBEFE
split-complementary
#FE8DF7 #BEFE8D #8DFECD
monochromatic
#FD14EE #FD50F3 #FE8DF7 #FFCAFB #FFE1FD

Accessibility & contrast

On white

2.03
#FE8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#FE8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE8DF7
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE8DF7#FFFFFF#000000##000000
##FE8DF71.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACFB
Deuteranopia (green-blind)
#A6BCF4
Tritanopia (blue-blind)
#FF97B7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fe8df7;
/* rgb */ color: rgb(254, 141, 247);
/* oklch */ color: oklch(80.0% 0.186 329.4);
Tailwind
colors: {
  custom: {
    50: '#ffb1fa',
    500: '#fe8df7',
    950: '#000000',
  },
}
SCSS
$custom: #fe8df7;
$custom-light: #ffb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#fe8df7",
  "rgb": {
    "r": 254,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 303.717,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79992,
    "c": 0.18641,
    "h": 329.4
  },
  "luminance": 0.46836
}

Semantic roles & 50–950 ramp

primary
#FE8DF7
secondary
#D4F7D6
accent
#E60E00
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FE8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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