#B287C4

A color in the Purple, Crimson, Magenta family

#b287c4 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 196), HSL(282°, 34%, 65%), CMYK(9%, 31%, 0%, 23%). Closest named color: orchid. Contrast is 2.93:1 on white and 7.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#b287c4
RGBrgb(178 135 196)
RGB (legacy)rgb(178, 135, 196)
RGB %rgb(70% 53% 77%)
HSLhsl(282 34% 65%)
HSV / HSBhsv(282, 31%, 77%)
HWBhwb(282 53% 23%)
CMYKcmyk(9%, 31%, 0%, 23%)
CIELAB (D50)lab(62.19 25.15 -25.38)
LCHlch(62.19 35.73 314.74)
OKLaboklab(0.686 0.0711 -0.0694)
OKLCHoklch(0.686 0.0994 315.69)
Decimal11700164

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 8.9
Closest web-safe color#9999cc
Hue282°
Saturation (HSL / HSV)34% / 31%
Lightness (HSL)65%
Brightness or Value (HSV)77%
Luminance (Rec.601 / Rec.709)61% / 58%
Relative luminance (WCAG)0.3078
Red / Green / Blue178 / 135 / 196

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.93:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.16: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.7 / -46.1 · 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: #b287c4;
  --color-brand-oklch: oklch(68.6% 0.0994 315.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 135 196 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b287c4] text-[#b287c4] border-[#b287c4]">