#FE7EF8#FE7EF8

#FE7EF8 is a light, highly saturated purple. Relative luminance 0.428; OKLCH L 78.0% C 0.211 H 329.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#FE7EF8
RGBrgb(254, 126, 248)
HSLhsl(303, 98%, 75%)
HSVhsv(303, 50%, 100%)
CMYKcmyk(0%, 50.4%, 2.4%, 0.4%)
CIE-LABlab(71.40, 64.41, -39.48)
CIE-LCHlch(71.40, 75.55, 328.49°)
OKLaboklab(78.01% 0.181 -0.1081)
OKLCHoklch(78.01% 0.211 329.1)
XYZxyz(65.2764, 42.7737, 93.6067)
Luminance0.4277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7EF8 #7EFE84
analogous
#C47EFE #FE7EF8 #FE7EB8
triadic
#FE7EF8 #F8FE7E #7EF8FE
tetradic
#FE7EF8 #FEC47E #7EFE84 #7EB8FE
square
#FE7EF8 #FEC47E #7EFE84 #7EB8FE
split-complementary
#FE7EF8 #B8FE7E #7EFEC4
monochromatic
#FD05F1 #FE41F5 #FE7EF8 #FEBBFB #FFE1FD

Accessibility & contrast

On white

2.20
#FE7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#FE7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7EF8
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7EF8#FFFFFF#000000##000000
##FE7EF81.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#9BB5F4
Tritanopia (blue-blind)
#FF8AB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fe7ef8;
/* rgb */ color: rgb(254, 126, 248);
/* oklch */ color: oklch(78.0% 0.211 329.1);
Tailwind
colors: {
  custom: {
    50: '#ffa8fb',
    500: '#fe7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #fe7ef8;
$custom-light: #ffa8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7ef8",
  "rgb": {
    "r": 254,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 302.813,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78012,
    "c": 0.21081,
    "h": 329.1
  },
  "luminance": 0.4277
}

Semantic roles & 50–950 ramp

primary
#FE7EF8
secondary
#D4F7D6
accent
#E60B00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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