#FE7EFE#FE7EFE

#FE7EFE is a light, highly saturated purple. Relative luminance 0.431; OKLCH L 78.3% C 0.216 H 327.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#FE7EFE
RGBrgb(254, 126, 254)
HSLhsl(300, 98%, 75%)
HSVhsv(300, 50%, 100%)
CMYKcmyk(0%, 50.4%, 0%, 0.4%)
CIE-LABlab(71.66, 65.42, -42.35)
CIE-LCHlch(71.66, 77.94, 327.08°)
OKLaboklab(78.29% 0.1819 -0.1163)
OKLCHoklch(78.29% 0.216 327.4)
XYZxyz(66.2222, 43.1520, 98.5878)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7EFE #7EFE7E
analogous
#BE7EFE #FE7EFE #FE7EBE
triadic
#FE7EFE #FEFE7E #7EFEFE
tetradic
#FE7EFE #FEBE7E #7EFE7E #7EBEFE
square
#FE7EFE #FEBE7E #7EFE7E #7EBEFE
split-complementary
#FE7EFE #BEFE7E #7EFEBE
monochromatic
#FD05FD #FE41FE #FE7EFE #FEBBFE #FFE1FF

Accessibility & contrast

On white

2.18
#FE7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#FE7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7EFE
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7EFE#FFFFFF#000000##000000
##FE7EFE1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#FF8CB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #fe7efe;
/* rgb */ color: rgb(254, 126, 254);
/* oklch */ color: oklch(78.3% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8ff',
    500: '#fe7efe',
    950: '#000000',
  },
}
SCSS
$custom: #fe7efe;
$custom-light: #ffa8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7efe",
  "rgb": {
    "r": 254,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 300,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78286,
    "c": 0.21588,
    "h": 327.4
  },
  "luminance": 0.43148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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