#FE8DF2#FE8DF2

#FE8DF2 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.8% C 0.182 H 331.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#FE8DF2
RGBrgb(254, 141, 242)
HSLhsl(306, 98%, 77%)
HSVhsv(306, 44%, 100%)
CMYKcmyk(0%, 44.5%, 4.7%, 0.4%)
CIE-LABlab(73.89, 56.25, -32.34)
CIE-LCHlch(73.89, 64.88, 330.10°)
OKLaboklab(79.78% 0.1595 -0.0879)
OKLCHoklch(79.78% 0.182 331.1)
XYZxyz(66.4243, 46.5351, 89.4706)
Luminance0.4653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE8DF2 #8DFE99
analogous
#D28DFE #FE8DF2 #FE8DB9
triadic
#FE8DF2 #F2FE8D #8DF2FE
tetradic
#FE8DF2 #FED28D #8DFE99 #8DB9FE
square
#FE8DF2 #FED28D #8DFE99 #8DB9FE
split-complementary
#FE8DF2 #B9FE8D #8DFED2
monochromatic
#FD14E4 #FD50EB #FE8DF2 #FFCAF9 #FFE1FC

Accessibility & contrast

On white

2.04
#FE8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#FE8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE8DF2
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE8DF2#FFFFFF#000000##000000
##FE8DF21.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF6
Deuteranopia (green-blind)
#A8BBEF
Tritanopia (blue-blind)
#FF95B4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #fe8df2;
/* rgb */ color: rgb(254, 141, 242);
/* oklch */ color: oklch(79.8% 0.182 331.1);
Tailwind
colors: {
  custom: {
    50: '#ffb1f6',
    500: '#fe8df2',
    950: '#000000',
  },
}
SCSS
$custom: #fe8df2;
$custom-light: #ffb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe8df2",
  "rgb": {
    "r": 254,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 306.372,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79782,
    "c": 0.18213,
    "h": 331.1
  },
  "luminance": 0.46531
}

Semantic roles & 50–950 ramp

primary
#FE8DF2
secondary
#D4F7D8
accent
#E61800
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #FE8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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