#FE7DFE#FE7DFE

#FE7DFE is a light, highly saturated purple. Relative luminance 0.429; OKLCH L 78.2% C 0.217 H 327.4°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#FE7DFE
RGBrgb(254, 125, 254)
HSLhsl(300, 98%, 74%)
HSVhsv(300, 51%, 100%)
CMYKcmyk(0%, 50.8%, 0%, 0.4%)
CIE-LABlab(71.49, 65.88, -42.62)
CIE-LCHlch(71.49, 78.47, 327.10°)
OKLaboklab(78.16% 0.1832 -0.1171)
OKLCHoklch(78.16% 0.217 327.4)
XYZxyz(66.0950, 42.8976, 98.5454)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DFE #7DFE7D
analogous
#BE7DFE #FE7DFE #FE7DBE
triadic
#FE7DFE #FEFE7D #7DFEFE
tetradic
#FE7DFE #FEBE7D #7DFE7D #7DBEFE
square
#FE7DFE #FEBE7D #7DFE7D #7DBEFE
split-complementary
#FE7DFE #BEFE7D #7DFEBE
monochromatic
#FD04FD #FE40FE #FE7DFE #FEBAFE #FFE1FF

Accessibility & contrast

On white

2.19
#FE7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#FE7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DFE
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DFE#FFFFFF#000000##000000
##FE7DFE1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#FF8BB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fe7dfe;
/* rgb */ color: rgb(254, 125, 254);
/* oklch */ color: oklch(78.2% 0.217 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8ff',
    500: '#fe7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #fe7dfe;
$custom-light: #ffa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7dfe",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.78159,
    "c": 0.21739,
    "h": 327.4
  },
  "luminance": 0.42894
}

Semantic roles & 50–950 ramp

primary
#FE7DFE
secondary
#D4F7D4
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FE7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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