#FE7DEC#FE7DEC

#FE7DEC is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.4% C 0.203 H 332.9°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#FE7DEC
RGBrgb(254, 125, 236)
HSLhsl(308, 98%, 74%)
HSVhsv(308, 51%, 100%)
CMYKcmyk(0%, 50.8%, 7.1%, 0.4%)
CIE-LABlab(70.73, 62.91, -33.94)
CIE-LCHlch(70.73, 71.48, 331.65°)
OKLaboklab(77.35% 0.1803 -0.0923)
OKLCHoklch(77.35% 0.203 332.9)
XYZxyz(63.3468, 41.7983, 84.0720)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DEC #7DFE8F
analogous
#D07DFE #FE7DEC #FE7DAC
triadic
#FE7DEC #ECFE7D #7DECFE
tetradic
#FE7DEC #FED07D #7DFE8F #7DACFE
square
#FE7DEC #FED07D #7DFE8F #7DACFE
split-complementary
#FE7DEC #ACFE7D #7DFED0
monochromatic
#FD04DA #FE40E3 #FE7DEC #FEBAF5 #FFE1FB

Accessibility & contrast

On white

2.24
#FE7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#FE7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DEC
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DEC#FFFFFF#000000##000000
##FE7DEC1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#FF86AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7dec;
/* rgb */ color: rgb(254, 125, 236);
/* oklch */ color: oklch(77.4% 0.203 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffa7f2',
    500: '#fe7dec',
    950: '#000000',
  },
}
SCSS
$custom: #fe7dec;
$custom-light: #ffa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7dec",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 308.372,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77355,
    "c": 0.20255,
    "h": 332.9
  },
  "luminance": 0.41794
}

Semantic roles & 50–950 ramp

primary
#FE7DEC
secondary
#D4F7D9
accent
#E62000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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