#FE7DFD#FE7DFD

#FE7DFD is a light, highly saturated purple. Relative luminance 0.428; OKLCH L 78.1% C 0.217 H 327.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#FE7DFD
RGBrgb(254, 125, 253)
HSLhsl(300, 98%, 74%)
HSVhsv(300, 51%, 100%)
CMYKcmyk(0%, 50.8%, 0.4%, 0.4%)
CIE-LABlab(71.44, 65.71, -42.14)
CIE-LCHlch(71.44, 78.07, 327.33°)
OKLaboklab(78.11% 0.183 -0.1157)
OKLCHoklch(78.11% 0.217 327.7)
XYZxyz(65.9352, 42.8337, 97.7042)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DFD #7DFE7E
analogous
#BF7DFE #FE7DFD #FE7DBD
triadic
#FE7DFD #FDFE7D #7DFDFE
tetradic
#FE7DFD #FEBF7D #7DFE7E #7DBDFE
square
#FE7DFD #FEBF7D #7DFE7E #7DBDFE
split-complementary
#FE7DFD #BDFE7D #7DFEBF
monochromatic
#FD04FB #FE40FC #FE7DFD #FEBAFE #FFE1FF

Accessibility & contrast

On white

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

On black

9.57
#FE7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DFD
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DFD#FFFFFF#000000##000000
##FE7DFD1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fe7dfd;
/* rgb */ color: rgb(254, 125, 253);
/* oklch */ color: oklch(78.1% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8fe',
    500: '#fe7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #fe7dfd;
$custom-light: #ffa8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7dfd",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 300.465,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.78113,
    "c": 0.21653,
    "h": 327.7
  },
  "luminance": 0.4283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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