#B256DA

A color in the Purple, Crimson, Magenta family

#b256da is a color in the Purple, Crimson, Magenta family: RGB(178, 86, 218), HSL(282°, 64%, 60%), CMYK(18%, 61%, 0%, 15%). Closest named color: mediumorchid. Contrast is 4.01:1 on white and 5.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#b256da
RGBrgb(178 86 218)
RGB (legacy)rgb(178, 86, 218)
RGB %rgb(70% 34% 85%)
HSLhsl(282 64% 60%)
HSV / HSBhsv(282, 61%, 85%)
HWBhwb(282 34% 15%)
CMYKcmyk(18%, 61%, 0%, 15%)
CIELAB (D50)lab(52.76 53.46 -52.47)
LCHlch(52.76 74.91 315.54)
OKLaboklab(0.621 0.1426 -0.1465)
OKLCHoklch(0.621 0.2045 314.23)
Decimal11687642

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 1.8
Closest web-safe color#9966cc
Hue282°
Saturation (HSL / HSV)64% / 61%
Lightness (HSL)60%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)50% / 45%
Relative luminance (WCAG)0.2118
Red / Green / Blue178 / 86 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.01:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.24:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 66.8 / -34.9 · As background with white / black text: Lc -72.3 / 37.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: #b256da;
  --color-brand-oklch: oklch(62.1% 0.2045 314.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(178 86 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#b256da] text-[#b256da] border-[#b256da]">