#FE7EF2#FE7EF2

#FE7EF2 is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 77.7% C 0.206 H 331.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FE7EF2
RGBrgb(254, 126, 242)
HSLhsl(306, 98%, 75%)
HSVhsv(306, 50%, 100%)
CMYKcmyk(0%, 50.4%, 4.7%, 0.4%)
CIE-LABlab(71.15, 63.42, -36.59)
CIE-LCHlch(71.15, 73.21, 330.02°)
OKLaboklab(77.75% 0.18 -0.0998)
OKLCHoklch(77.75% 0.206 331)
XYZxyz(64.3605, 42.4074, 88.7827)
Luminance0.4240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7EF2 #7EFE8A
analogous
#CA7EFE #FE7EF2 #FE7EB2
triadic
#FE7EF2 #F2FE7E #7EF2FE
tetradic
#FE7EF2 #FECA7E #7EFE8A #7EB2FE
square
#FE7EF2 #FECA7E #7EFE8A #7EB2FE
split-complementary
#FE7EF2 #B2FE7E #7EFECA
monochromatic
#FD05E6 #FE41EC #FE7EF2 #FEBBF8 #FFE1FC

Accessibility & contrast

On white

2.22
#FE7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FE7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7EF2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7EF2#FFFFFF#000000##000000
##FE7EF21.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #fe7ef2;
/* rgb */ color: rgb(254, 126, 242);
/* oklch */ color: oklch(77.7% 0.206 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa8f6',
    500: '#fe7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #fe7ef2;
$custom-light: #ffa8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7ef2",
  "rgb": {
    "r": 254,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 305.625,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77746,
    "c": 0.20584,
    "h": 331
  },
  "luminance": 0.42403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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