#9F59CD

A color in the Purple, Crimson, Magenta family

#9f59cd is a color in the Purple, Crimson, Magenta family: RGB(159, 89, 205), HSL(276°, 54%, 58%), CMYK(22%, 57%, 0%, 20%). Closest named color: mediumorchid. Contrast is 4.39:1 on white and 4.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9f59cd
RGBrgb(159 89 205)
RGB (legacy)rgb(159, 89, 205)
RGB %rgb(62% 35% 80%)
HSLhsl(276 54% 58%)
HSV / HSBhsv(276, 57%, 80%)
HWBhwb(276 35% 20%)
CMYKcmyk(22%, 57%, 0%, 20%)
CIELAB (D50)lab(50.19 44.62 -49.35)
LCHlch(50.19 66.53 312.12)
OKLaboklab(0.5949 0.1151 -0.1377)
OKLCHoklch(0.5949 0.1795 309.88)
Decimal10443213

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.9
Closest web-safe color#9966cc
Hue276°
Saturation (HSL / HSV)54% / 57%
Lightness (HSL)58%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)48% / 44%
Relative luminance (WCAG)0.1892
Red / Green / Blue159 / 89 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.78: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 70 / -31.7 · As background with white / black text: Lc -75.5 / 34.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: #9f59cd;
  --color-brand-oklch: oklch(59.49% 0.1795 309.88);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(159 89 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9f59cd] text-[#9f59cd] border-[#9f59cd]">