#B287C9

A color in the Purple, Crimson, Magenta family

#b287c9 is a color in the Purple, Crimson, Magenta family: RGB(178, 135, 201), HSL(279°, 38%, 66%), CMYK(11%, 33%, 0%, 21%). Closest named color: orchid. Contrast is 2.92:1 on white and 7.2:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b287c9
RGBrgb(178 135 201)
RGB (legacy)rgb(178, 135, 201)
RGB %rgb(70% 53% 79%)
HSLhsl(279 38% 66%)
HSV / HSBhsv(279, 33%, 79%)
HWBhwb(279 53% 21%)
CMYKcmyk(11%, 33%, 0%, 21%)
CIELAB (D50)lab(62.35 25.94 -27.93)
LCHlch(62.35 38.12 312.89)
OKLaboklab(0.6882 0.0724 -0.0765)
OKLCHoklch(0.6882 0.1054 313.42)
Decimal11700169

Properties

Color TonePurple, Crimson, Magenta
Closest named colororchid ΔE 8.5
Closest web-safe color#9999cc
Hue279°
Saturation (HSL / HSV)38% / 33%
Lightness (HSL)66%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)61% / 58%
Relative luminance (WCAG)0.3101
Red / Green / Blue178 / 135 / 201

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.92:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.20: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.5 / -46.3 · As background with white / black text: Lc -60.8 / 48.6

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