#9656D2

A color in the Purple, Crimson, Magenta family

#9656d2 is a color in the Purple, Crimson, Magenta family: RGB(150, 86, 210), HSL(271°, 58%, 58%), CMYK(29%, 59%, 0%, 18%). Closest named color: mediumpurple. Contrast is 4.61:1 on white and 4.56:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9656d2
RGBrgb(150 86 210)
RGB (legacy)rgb(150, 86, 210)
RGB %rgb(59% 34% 82%)
HSLhsl(271 58% 58%)
HSV / HSBhsv(271, 59%, 82%)
HWBhwb(271 34% 18%)
CMYKcmyk(29%, 59%, 0%, 18%)
CIELAB (D50)lab(48.72 44.5 -54.62)
LCHlch(48.72 70.46 309.17)
OKLaboklab(0.5836 0.1075 -0.1529)
OKLCHoklch(0.5836 0.1869 305.11)
Decimal9852626

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 5.8
Closest web-safe color#9966cc
Hue271°
Saturation (HSL / HSV)58% / 59%
Lightness (HSL)58%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)47% / 43%
Relative luminance (WCAG)0.1779
Red / Green / Blue150 / 86 / 210

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.61:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.56: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 71.6 / -30.1 · As background with white / black text: Lc -77 / 32.5

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: #9656d2;
  --color-brand-oklch: oklch(58.36% 0.1869 305.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(150 86 210 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9656d2] text-[#9656d2] border-[#9656d2]">