#FD7DF2#FD7DF2

#FD7DF2 is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.5% C 0.207 H 330.7°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#FD7DF2
RGBrgb(253, 125, 242)
HSLhsl(305, 97%, 74%)
HSVhsv(305, 51%, 99%)
CMYKcmyk(0%, 50.6%, 4.3%, 0.8%)
CIE-LABlab(70.85, 63.61, -37.07)
CIE-LCHlch(70.85, 73.62, 329.77°)
OKLaboklab(77.49% 0.1803 -0.1012)
OKLCHoklch(77.49% 0.207 330.7)
XYZxyz(63.8681, 41.9646, 88.7231)
Luminance0.4196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FD7DF2 #7DFD88
analogous
#C87DFD #FD7DF2 #FD7DB2
triadic
#FD7DF2 #F2FD7D #7DF2FD
tetradic
#FD7DF2 #FDC87D #7DFD88 #7DB2FD
square
#FD7DF2 #FDC87D #7DFD88 #7DB2FD
split-complementary
#FD7DF2 #B2FD7D #7DFDC8
monochromatic
#FB04E6 #FC41EC #FD7DF2 #FEB9F8 #FFE1FC

Accessibility & contrast

On white

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

On black

9.39
#FD7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FD7DF2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FD7DF2#FFFFFF#000000##000000
##FD7DF21.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fd7df2;
/* rgb */ color: rgb(253, 125, 242);
/* oklch */ color: oklch(77.5% 0.207 330.7);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fd7df2',
    950: '#000000',
  },
}
SCSS
$custom: #fd7df2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fd7df2",
  "rgb": {
    "r": 253,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 305.156,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77494,
    "c": 0.20675,
    "h": 330.7
  },
  "luminance": 0.41961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FD7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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