#FE7CF2#FE7CF2

#FE7CF2 is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.5% C 0.209 H 331.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FE7CF2
RGBrgb(254, 124, 242)
HSLhsl(306, 98%, 74%)
HSVhsv(306, 51%, 100%)
CMYKcmyk(0%, 51.2%, 4.7%, 0.4%)
CIE-LABlab(70.80, 64.34, -37.13)
CIE-LCHlch(70.80, 74.28, 330.01°)
OKLaboklab(77.49% 0.1827 -0.1014)
OKLCHoklch(77.49% 0.209 331)
XYZxyz(64.1073, 41.9010, 88.6983)
Luminance0.4190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FE7CF2 #7CFE88
analogous
#C97CFE #FE7CF2 #FE7CB1
triadic
#FE7CF2 #F2FE7C #7CF2FE
tetradic
#FE7CF2 #FEC97C #7CFE88 #7CB1FE
square
#FE7CF2 #FEC97C #7CFE88 #7CB1FE
split-complementary
#FE7CF2 #B1FE7C #7CFEC9
monochromatic
#FD03E6 #FE3FEC #FE7CF2 #FEB9F8 #FFE1FC

Accessibility & contrast

On white

2.24
#FE7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#FE7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FE7CF2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FE7CF2#FFFFFF#000000##000000
##FE7CF21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#9DB4EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fe7cf2;
/* rgb */ color: rgb(254, 124, 242);
/* oklch */ color: oklch(77.5% 0.209 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fe7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #fe7cf2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fe7cf2",
  "rgb": {
    "r": 254,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 305.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.2089,
    "h": 331
  },
  "luminance": 0.41897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FE7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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