#FD87F2

A color in the Purple, Crimson, Magenta family

#fd87f2 is a color in the Purple, Crimson, Magenta family: RGB(253, 135, 242), HSL(306°, 97%, 76%), CMYK(0%, 47%, 4%, 1%). Closest named color: violet. Contrast is 2.12:1 on white and 9.92:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#fd87f2
RGBrgb(253 135 242)
RGB (legacy)rgb(253, 135, 242)
RGB %rgb(99% 53% 95%)
HSLhsl(306 97% 76%)
HSV / HSBhsv(306, 47%, 99%)
HWBhwb(306 53% 1%)
CMYKcmyk(0%, 47%, 4%, 1%)
CIELAB (D50)lab(72.63 56.07 -33.89)
LCHlch(72.63 65.52 328.85)
OKLaboklab(0.7883 0.1668 -0.0934)
OKLCHoklch(0.7883 0.1911 330.75)
Decimal16615410

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.9
Closest web-safe color#ff99ff
Hue306°
Saturation (HSL / HSV)97% / 47%
Lightness (HSL)76%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)72% / 66%
Relative luminance (WCAG)0.4462
Red / Green / Blue253 / 135 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.92:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 41 / -61.2 · As background with white / black text: Lc -45.7 / 62.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #fd87f2;
  --color-brand-oklch: oklch(78.83% 0.1911 330.75);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(253 135 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fd87f2] text-[#fd87f2] border-[#fd87f2]">