#FE7EFB#FE7EFB

#FE7EFB is a light, highly saturated purple. Relative luminance 0.430; OKLCH L 78.1% C 0.213 H 328.3°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#FE7EFB
RGBrgb(254, 126, 251)
HSLhsl(301, 98%, 75%)
HSVhsv(301, 50%, 100%)
CMYKcmyk(0%, 50.4%, 1.2%, 0.4%)
CIE-LABlab(71.53, 64.91, -40.92)
CIE-LCHlch(71.53, 76.73, 327.77°)
OKLaboklab(78.15% 0.1814 -0.1122)
OKLCHoklch(78.15% 0.213 328.3)
XYZxyz(65.7456, 42.9614, 96.0775)
Luminance0.4296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7EFB #7EFE81
analogous
#C17EFE #FE7EFB #FE7EBB
triadic
#FE7EFB #FBFE7E #7EFBFE
tetradic
#FE7EFB #FEC17E #7EFE81 #7EBBFE
square
#FE7EFB #FEC17E #7EFE81 #7EBBFE
split-complementary
#FE7EFB #BBFE7E #7EFEC1
monochromatic
#FD05F7 #FE41F9 #FE7EFB #FEBBFD #FFE1FE

Accessibility & contrast

On white

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

On black

9.59
#FE7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7EFB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7EFB#FFFFFF#000000##000000
##FE7EFB1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fe7efb;
/* rgb */ color: rgb(254, 126, 251);
/* oklch */ color: oklch(78.1% 0.213 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8fd',
    500: '#fe7efb',
    950: '#000000',
  },
}
SCSS
$custom: #fe7efb;
$custom-light: #ffa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7efb",
  "rgb": {
    "r": 254,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 301.406,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78148,
    "c": 0.21333,
    "h": 328.3
  },
  "luminance": 0.42958
}

Semantic roles & 50–950 ramp

primary
#FE7EFB
secondary
#D4F7D5
accent
#E60500
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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