#FD7EF2#FD7EF2

#FD7EF2 is a light, highly saturated purple. Relative luminance 0.422; OKLCH L 77.6% C 0.205 H 330.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#FD7EF2
RGBrgb(253, 126, 242)
HSLhsl(305, 97%, 74%)
HSVhsv(305, 50%, 99%)
CMYKcmyk(0%, 50.2%, 4.3%, 0.8%)
CIE-LABlab(71.02, 63.14, -36.80)
CIE-LCHlch(71.02, 73.08, 329.77°)
OKLaboklab(77.62% 0.1789 -0.1005)
OKLCHoklch(77.62% 0.205 330.7)
XYZxyz(63.9954, 42.2191, 88.7656)
Luminance0.4222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD7EF2 #7EFD89
analogous
#C97EFD #FD7EF2 #FD7EB3
triadic
#FD7EF2 #F2FD7E #7EF2FD
tetradic
#FD7EF2 #FDC97E #7EFD89 #7EB3FD
square
#FD7EF2 #FDC97E #7EFD89 #7EB3FD
split-complementary
#FD7EF2 #B3FD7E #7EFDC9
monochromatic
#FB05E6 #FC42EC #FD7EF2 #FEBAF8 #FFE1FC

Accessibility & contrast

On white

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

On black

9.44
#FD7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD7EF2
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD7EF2#FFFFFF#000000##000000
##FD7EF21.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fd7ef2;
/* rgb */ color: rgb(253, 126, 242);
/* oklch */ color: oklch(77.6% 0.205 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8f6',
    500: '#fd7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #fd7ef2;
$custom-light: #ffa8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fd7ef2",
  "rgb": {
    "r": 253,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 305.197,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77623,
    "c": 0.20521,
    "h": 330.7
  },
  "luminance": 0.42215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FD7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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