#9846BB

A color in the Purple, Crimson, Magenta family

#9846bb is a color in the Purple, Crimson, Magenta family: RGB(152, 70, 187), HSL(282°, 46%, 50%), CMYK(19%, 63%, 0%, 27%). Closest named color: darkorchid. Contrast is 5.35:1 on white and 3.93:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9846bb
RGBrgb(152 70 187)
RGB (legacy)rgb(152, 70, 187)
RGB %rgb(60% 27% 73%)
HSLhsl(282 46% 50%)
HSV / HSBhsv(282, 63%, 73%)
HWBhwb(282 27% 27%)
CMYKcmyk(19%, 63%, 0%, 27%)
CIELAB (D50)lab(44.79 48.8 -47.61)
LCHlch(44.79 68.18 315.7)
OKLaboklab(0.5499 0.13 -0.133)
OKLCHoklch(0.5499 0.186 314.33)
Decimal9979579

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkorchid ΔE 4.3
Closest web-safe color#9933cc
Hue282°
Saturation (HSL / HSV)46% / 63%
Lightness (HSL)50%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)42% / 38%
Relative luminance (WCAG)0.1464
Red / Green / Blue152 / 70 / 187

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 76 / -25.7 · As background with white / black text: Lc -81.4 / 28.1

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: #9846bb;
  --color-brand-oklch: oklch(54.99% 0.186 314.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(152 70 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9846bb] text-[#9846bb] border-[#9846bb]">