#FF87F3

A color in the Purple, Crimson, Magenta family

#ff87f3 is a color in the Purple, Crimson, Magenta family: RGB(255, 135, 243), HSL(306°, 100%, 76%), CMYK(0%, 47%, 5%, 0%). Closest named color: violet. Contrast is 2.1:1 on white and 10.01:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ff87f3
RGBrgb(255 135 243)
RGB (legacy)rgb(255, 135, 243)
RGB %rgb(100% 53% 95%)
HSLhsl(306 100% 76%)
HSV / HSBhsv(306, 47%, 100%)
HWBhwb(306 53% 0%)
CMYKcmyk(0%, 47%, 5%, 0%)
CIELAB (D50)lab(72.93 56.81 -33.96)
LCHlch(72.93 66.18 329.13)
OKLaboklab(0.7911 0.1691 -0.0936)
OKLCHoklch(0.7911 0.1933 331.05)
Decimal16746483

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.01: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 40.6 / -61.7 · As background with white / black text: Lc -45.2 / 63.3

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: #ff87f3;
  --color-brand-oklch: oklch(79.11% 0.1933 331.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 135 243 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ff87f3] text-[#ff87f3] border-[#ff87f3]">