#FE7DF2#FE7DF2

#FE7DF2 is a light, highly saturated purple. Relative luminance 0.421; OKLCH L 77.6% C 0.207 H 331.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#FE7DF2
RGBrgb(254, 125, 242)
HSLhsl(306, 98%, 74%)
HSVhsv(306, 51%, 100%)
CMYKcmyk(0%, 50.8%, 4.7%, 0.4%)
CIE-LABlab(70.98, 63.88, -36.86)
CIE-LCHlch(70.98, 73.75, 330.02°)
OKLaboklab(77.62% 0.1813 -0.1006)
OKLCHoklch(77.62% 0.207 331)
XYZxyz(64.2332, 42.1529, 88.7403)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7DF2 #7DFE89
analogous
#C97DFE #FE7DF2 #FE7DB2
triadic
#FE7DF2 #F2FE7D #7DF2FE
tetradic
#FE7DF2 #FEC97D #7DFE89 #7DB2FE
square
#FE7DF2 #FEC97D #7DFE89 #7DB2FE
split-complementary
#FE7DF2 #B2FE7D #7DFEC9
monochromatic
#FD04E6 #FE40EC #FE7DF2 #FEBAF8 #FFE1FC

Accessibility & contrast

On white

2.23
#FE7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#FE7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7DF2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7DF2#FFFFFF#000000##000000
##FE7DF21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#9DB4EE
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7df2;
/* rgb */ color: rgb(254, 125, 242);
/* oklch */ color: oklch(77.6% 0.207 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fe7df2',
    950: '#000000',
  },
}
SCSS
$custom: #fe7df2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7df2",
  "rgb": {
    "r": 254,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 305.581,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77616,
    "c": 0.20738,
    "h": 331
  },
  "luminance": 0.42149
}

Semantic roles & 50–950 ramp

primary
#FE7DF2
secondary
#D4F7D7
accent
#E61500
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FE7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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