#B287C3

A color in the Purple, Crimson, Magenta family

#b287c3 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 195), HSL(283°, 33%, 65%), CMYK(9%, 31%, 0%, 24%). Closest named color: rosybrown. Contrast is 2.94:1 on white and 7.15:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b287c3
RGBrgb(178 135 195)
RGB (legacy)rgb(178, 135, 195)
RGB %rgb(70% 53% 76%)
HSLhsl(283 33% 65%)
HSV / HSBhsv(283, 31%, 76%)
HWBhwb(283 53% 24%)
CMYKcmyk(9%, 31%, 0%, 24%)
CIELAB (D50)lab(62.15 24.99 -24.87)
LCHlch(62.15 35.26 315.14)
OKLaboklab(0.6856 0.0708 -0.068)
OKLCHoklch(0.6856 0.0982 316.17)
Decimal11700163

Properties

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

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.15: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.1 / 48.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: #b287c3;
  --color-brand-oklch: oklch(68.56% 0.0982 316.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 135 195 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b287c3] text-[#b287c3] border-[#b287c3]">