#BB2BDF

A color in the Purple, Crimson, Magenta family

#bb2bdf is a color in the Purple, Crimson, Magenta family: RGB(187, 43, 223), HSL(288°, 74%, 52%), CMYK(16%, 81%, 0%, 13%). Closest named color: mediumorchid. Contrast is 4.64:1 on white and 4.52:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb2bdf
RGBrgb(187 43 223)
RGB (legacy)rgb(187, 43, 223)
RGB %rgb(73% 17% 87%)
HSLhsl(288 74% 52%)
HSV / HSBhsv(288, 81%, 87%)
HWBhwb(288 17% 13%)
CMYKcmyk(16%, 81%, 0%, 13%)
CIELAB (D50)lab(48.59 71.9 -61.88)
LCHlch(48.59 94.86 319.28)
OKLaboklab(0.5952 0.1943 -0.1735)
OKLCHoklch(0.5952 0.2604 318.24)
Decimal12266463

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 6.6
Closest web-safe color#cc33cc
Hue288°
Saturation (HSL / HSV)74% / 81%
Lightness (HSL)52%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)42% / 34%
Relative luminance (WCAG)0.1762
Red / Green / Blue187 / 43 / 223

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.64:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.52:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.7 / -31 · As background with white / black text: Lc -76.2 / 33.4

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: #bb2bdf;
  --color-brand-oklch: oklch(59.52% 0.2604 318.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 43 223 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb2bdf] text-[#bb2bdf] border-[#bb2bdf]">