#B287C1

A color in the Purple, Crimson, Magenta family

#b287c1 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 193), HSL(284°, 32%, 64%), CMYK(8%, 30%, 0%, 24%). Closest named color: rosybrown. Contrast is 2.95:1 on white and 7.13:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b287c1
RGBrgb(178 135 193)
RGB (legacy)rgb(178, 135, 193)
RGB %rgb(70% 53% 76%)
HSLhsl(284 32% 64%)
HSV / HSBhsv(284, 30%, 76%)
HWBhwb(284 53% 24%)
CMYKcmyk(8%, 30%, 0%, 24%)
CIELAB (D50)lab(62.09 24.68 -23.84)
LCHlch(62.09 34.32 315.99)
OKLaboklab(0.6848 0.0703 -0.0651)
OKLCHoklch(0.6848 0.0958 317.17)
Decimal11700161

Properties

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

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.13: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.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: #b287c1;
  --color-brand-oklch: oklch(68.48% 0.0958 317.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 135 193 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b287c1] text-[#b287c1] border-[#b287c1]">