#B287C0

A color in the Purple, Crimson, Magenta family

#b287c0 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 192), HSL(285°, 31%, 64%), CMYK(7%, 30%, 0%, 25%). Closest named color: rosybrown. Contrast is 2.95:1 on white and 7.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b287c0
RGBrgb(178 135 192)
RGB (legacy)rgb(178, 135, 192)
RGB %rgb(70% 53% 75%)
HSLhsl(285 31% 64%)
HSV / HSBhsv(285, 30%, 75%)
HWBhwb(285 53% 25%)
CMYKcmyk(7%, 30%, 0%, 25%)
CIELAB (D50)lab(62.06 24.53 -23.33)
LCHlch(62.06 33.85 316.43)
OKLaboklab(0.6844 0.07 -0.0637)
OKLCHoklch(0.6844 0.0947 317.69)
Decimal11700160

Properties

Color TonePurple, Crimson, Magenta
Closest named colorrosybrown ΔE 8.4
Closest web-safe color#9999cc
Hue285°
Saturation (HSL / HSV)31% / 30%
Lightness (HSL)64%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)61% / 58%
Relative luminance (WCAG)0.306
Red / Green / Blue178 / 135 / 192

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.95:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.12: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 55.9 / -45.9 · 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: #b287c0;
  --color-brand-oklch: oklch(68.44% 0.0947 317.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 135 192 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b287c0] text-[#b287c0] border-[#b287c0]">