#F87FDB
A color in the Purple, Crimson, Magenta family
#f87fdb is a color in the Purple, Crimson, Magenta family: RGB(248, 127, 219), HSL(314°, 90%, 74%), CMYK(0%, 49%, 12%, 3%). Closest named color: violet. Contrast is 2.32:1 on white and 9.05:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #f87fdb |
|---|---|
| RGB | rgb(248 127 219) |
| RGB (legacy) | rgb(248, 127, 219) |
| RGB % | rgb(97% 50% 86%) |
| HSL | hsl(314 90% 74%) |
| HSV / HSB | hsv(314, 49%, 97%) |
| HWB | hwb(314 50% 3%) |
| CMYK | cmyk(0%, 49%, 12%, 3%) |
| CIELAB (D50) | lab(69.75 55.45 -25.75) |
| LCH | lch(69.75 61.13 335.09) |
| OKLab | oklab(0.7617 0.1677 -0.0708) |
| OKLCH | oklch(0.7617 0.1821 337.1) |
| Decimal | 16285659 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | violet ΔE 3.2 |
| Closest web-safe color | #ff66cc |
| Hue | 314° |
| Saturation (HSL / HSV) | 90% / 49% |
| Lightness (HSL) | 74% |
| Brightness or Value (HSV) | 97% |
| Luminance (Rec.601 / Rec.709) | 68% / 62% |
| Relative luminance (WCAG) | 0.4025 |
| Red / Green / Blue | 248 / 127 / 219 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
2.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.05: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 45.3 / -56.8 · As background with white / black text: Lc -50.2 / 58.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
Complementary
Split Complementary
Analogous
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: #f87fdb;
--color-brand-oklch: oklch(76.17% 0.1821 337.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(248 127 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f87fdb] text-[#f87fdb] border-[#f87fdb]">