#FE7CEC#FE7CEC

#FE7CEC is a light, highly saturated purple. Relative luminance 0.415; OKLCH L 77.2% C 0.204 H 332.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#FE7CEC
RGBrgb(254, 124, 236)
HSLhsl(308, 98%, 74%)
HSVhsv(308, 51%, 100%)
CMYKcmyk(0%, 51.2%, 7.1%, 0.4%)
CIE-LABlab(70.56, 63.37, -34.22)
CIE-LCHlch(70.56, 72.02, 331.63°)
OKLaboklab(77.23% 0.1816 -0.0931)
OKLCHoklch(77.23% 0.204 332.9)
XYZxyz(63.2209, 41.5464, 84.0300)
Luminance0.4154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7CEC #7CFE8E
analogous
#CF7CFE #FE7CEC #FE7CAB
triadic
#FE7CEC #ECFE7C #7CECFE
tetradic
#FE7CEC #FECF7C #7CFE8E #7CABFE
square
#FE7CEC #FECF7C #7CFE8E #7CABFE
split-complementary
#FE7CEC #ABFE7C #7CFECF
monochromatic
#FD03DA #FE3FE3 #FE7CEC #FEB9F5 #FFE1FB

Accessibility & contrast

On white

2.26
#FE7CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#FE7CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7CEC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7CEC#FFFFFF#000000##000000
##FE7CEC1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A1F0
Deuteranopia (green-blind)
#9FB3E8
Tritanopia (blue-blind)
#FF85A9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7cec;
/* rgb */ color: rgb(254, 124, 236);
/* oklch */ color: oklch(77.2% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffa7f2',
    500: '#fe7cec',
    950: '#000000',
  },
}
SCSS
$custom: #fe7cec;
$custom-light: #ffa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7cec",
  "rgb": {
    "r": 254,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 308.308,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77226,
    "c": 0.20409,
    "h": 332.9
  },
  "luminance": 0.41542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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