#B287C2

A color in the Purple, Crimson, Magenta family

#b287c2 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 194), HSL(284°, 33%, 65%), CMYK(8%, 30%, 0%, 24%). Closest named color: rosybrown. Contrast is 2.94:1 on white and 7.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b287c2
RGBrgb(178 135 194)
RGB (legacy)rgb(178, 135, 194)
RGB %rgb(70% 53% 76%)
HSLhsl(284 33% 65%)
HSV / HSBhsv(284, 30%, 76%)
HWBhwb(284 53% 24%)
CMYKcmyk(8%, 30%, 0%, 24%)
CIELAB (D50)lab(62.12 24.84 -24.36)
LCHlch(62.12 34.79 315.56)
OKLaboklab(0.6852 0.0706 -0.0666)
OKLCHoklch(0.6852 0.097 316.67)
Decimal11700162

Properties

Color TonePurple, Crimson, Magenta
Closest named colorrosybrown ΔE 8.6
Closest web-safe color#9999cc
Hue284°
Saturation (HSL / HSV)33% / 30%
Lightness (HSL)65%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)61% / 58%
Relative luminance (WCAG)0.3069
Red / Green / Blue178 / 135 / 194

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.94:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.14: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.8 / -46 · As background with white / black text: Lc -61.2 / 48.2

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: #b287c2;
  --color-brand-oklch: oklch(68.52% 0.097 316.67);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 135 194 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b287c2] text-[#b287c2] border-[#b287c2]">