#FE7DFB#FE7DFB

#FE7DFB is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 78.0% C 0.215 H 328.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#FE7DFB
RGBrgb(254, 125, 251)
HSLhsl(301, 98%, 74%)
HSVhsv(301, 51%, 100%)
CMYKcmyk(0%, 50.8%, 1.2%, 0.4%)
CIE-LABlab(71.36, 65.38, -41.19)
CIE-LCHlch(71.36, 77.27, 327.79°)
OKLaboklab(78.02% 0.1827 -0.113)
OKLCHoklch(78.02% 0.215 328.3)
XYZxyz(65.6183, 42.7069, 96.0351)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DFB #7DFE80
analogous
#C07DFE #FE7DFB #FE7DBB
triadic
#FE7DFB #FBFE7D #7DFBFE
tetradic
#FE7DFB #FEC07D #7DFE80 #7DBBFE
square
#FE7DFB #FEC07D #7DFE80 #7DBBFE
split-complementary
#FE7DFB #BBFE7D #7DFEC0
monochromatic
#FD04F7 #FE40F9 #FE7DFB #FEBAFD #FFE1FE

Accessibility & contrast

On white

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

On black

9.54
#FE7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DFB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DFB#FFFFFF#000000##000000
##FE7DFB1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fe7dfb;
/* rgb */ color: rgb(254, 125, 251);
/* oklch */ color: oklch(78.0% 0.215 328.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7fd',
    500: '#fe7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #fe7dfb;
$custom-light: #ffa7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7dfb",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 301.395,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.78021,
    "c": 0.21484,
    "h": 328.3
  },
  "luminance": 0.42703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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