#BB7EA2

A color in the Purple, Crimson, Magenta family

#bb7ea2 is a color in the Purple, Crimson, Magenta family: RGB(187, 126, 162), HSL(325°, 31%, 61%), CMYK(0%, 33%, 13%, 27%). Closest named color: rosybrown. Contrast is 3.17:1 on white and 6.62:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#bb7ea2
RGBrgb(187 126 162)
RGB (legacy)rgb(187, 126, 162)
RGB %rgb(73% 49% 64%)
HSLhsl(325 31% 61%)
HSV / HSBhsv(325, 33%, 73%)
HWBhwb(325 49% 27%)
CMYKcmyk(0%, 33%, 13%, 27%)
CIELAB (D50)lab(60.07 28.34 -9.2)
LCHlch(60.07 29.79 342.02)
OKLaboklab(0.6664 0.0854 -0.0252)
OKLCHoklch(0.6664 0.089 343.56)
Decimal12287650

Properties

Color TonePurple, Crimson, Magenta
Closest named colorrosybrown ΔE 6
Closest web-safe color#cc6699
Hue325°
Saturation (HSL / HSV)31% / 33%
Lightness (HSL)61%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)58% / 56%
Relative luminance (WCAG)0.281
Red / Green / Blue187 / 126 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.62: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 58.7 / -43 · As background with white / black text: Lc -64.2 / 45.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: #bb7ea2;
  --color-brand-oklch: oklch(66.64% 0.089 343.56);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(187 126 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#bb7ea2] text-[#bb7ea2] border-[#bb7ea2]">