#9E59CD

A color in the Purple, Crimson, Magenta family

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

Open in Picker Generate Scheme

Color Codes

HEX#9e59cd
RGBrgb(158 89 205)
RGB (legacy)rgb(158, 89, 205)
RGB %rgb(62% 35% 80%)
HSLhsl(276 54% 58%)
HSV / HSBhsv(276, 57%, 80%)
HWBhwb(276 35% 20%)
CMYKcmyk(23%, 57%, 0%, 20%)
CIELAB (D50)lab(50.06 44.34 -49.56)
LCHlch(50.06 66.49 311.82)
OKLaboklab(0.5938 0.1138 -0.1383)
OKLCHoklch(0.5938 0.1792 309.45)
Decimal10377677

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 5.1
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.1882
Red / Green / Blue158 / 89 / 205

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.76: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.2 / -31.5 · As background with white / black text: Lc -75.6 / 33.9

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: #9e59cd;
  --color-brand-oklch: oklch(59.38% 0.1792 309.45);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(158 89 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9e59cd] text-[#9e59cd] border-[#9e59cd]">