#FC87F2

A color in the Purple, Crimson, Magenta family

#fc87f2 is a color in the Purple, Crimson, Magenta family: RGB(252, 135, 242), HSL(305°, 95%, 76%), CMYK(0%, 46%, 4%, 1%). Closest named color: violet. Contrast is 2.12:1 on white and 9.89:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#fc87f2
RGBrgb(252 135 242)
RGB (legacy)rgb(252, 135, 242)
RGB %rgb(99% 53% 95%)
HSLhsl(305 95% 76%)
HSV / HSBhsv(305, 46%, 99%)
HWBhwb(305 53% 1%)
CMYKcmyk(0%, 46%, 4%, 1%)
CIELAB (D50)lab(72.5 55.77 -34.11)
LCHlch(72.5 65.37 328.55)
OKLaboklab(0.7871 0.1657 -0.094)
OKLCHoklch(0.7871 0.1905 330.44)
Decimal16549874

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.8
Closest web-safe color#ff99ff
Hue305°
Saturation (HSL / HSV)95% / 46%
Lightness (HSL)76%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)71% / 66%
Relative luminance (WCAG)0.4443
Red / Green / Blue252 / 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.89: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.2 / -61 · As background with white / black text: Lc -45.9 / 62.7

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: #fc87f2;
  --color-brand-oklch: oklch(78.71% 0.1905 330.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(252 135 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fc87f2] text-[#fc87f2] border-[#fc87f2]">