#B87FDB

A color in the Purple, Crimson, Magenta family

#b87fdb is a color in the Purple, Crimson, Magenta family: RGB(184, 127, 219), HSL(277°, 56%, 68%), CMYK(16%, 42%, 0%, 14%). Closest named color: orchid. Contrast is 2.96:1 on white and 7.1:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b87fdb
RGBrgb(184 127 219)
RGB (legacy)rgb(184, 127, 219)
RGB %rgb(72% 50% 86%)
HSLhsl(277 56% 68%)
HSV / HSBhsv(277, 42%, 86%)
HWBhwb(277 50% 14%)
CMYKcmyk(16%, 42%, 0%, 14%)
CIELAB (D50)lab(61.8 35.07 -38.76)
LCHlch(61.8 52.27 312.14)
OKLaboklab(0.6887 0.0951 -0.1071)
OKLCHoklch(0.6887 0.1433 311.61)
Decimal12091355

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 6.3
Closest web-safe color#cc66cc
Hue277°
Saturation (HSL / HSV)56% / 42%
Lightness (HSL)68%
Brightness or Value (HSV)86%
Luminance (Rec.601 / Rec.709)61% / 57%
Relative luminance (WCAG)0.3048
Red / Green / Blue184 / 127 / 219

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.96:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.10: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 56 / -45.8 · As background with white / black text: Lc -61.3 / 48.1

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: #b87fdb;
  --color-brand-oklch: oklch(68.87% 0.1433 311.61);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(184 127 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b87fdb] text-[#b87fdb] border-[#b87fdb]">