#8317BD

A color in the Purple, Crimson, Magenta family

#8317bd is a color in the Purple, Crimson, Magenta family: RGB(131, 23, 189), HSL(279°, 78%, 42%), CMYK(31%, 88%, 0%, 26%). Closest named color: darkviolet. Contrast is 7.44:1 on white and 2.82:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8317bd
RGBrgb(131 23 189)
RGB (legacy)rgb(131, 23, 189)
RGB %rgb(51% 9% 74%)
HSLhsl(279 78% 42%)
HSV / HSBhsv(279, 88%, 74%)
HWBhwb(279 9% 26%)
CMYKcmyk(31%, 88%, 0%, 26%)
CIELAB (D50)lab(35.5 61.16 -63.93)
LCHlch(35.5 88.48 313.73)
OKLaboklab(0.4808 0.1441 -0.1797)
OKLCHoklch(0.4808 0.2303 308.71)
Decimal8591293

Properties

Color TonePurple, Crimson, Magenta
Closest named colordarkviolet ΔE 4.6
Closest web-safe color#9900cc
Hue279°
Saturation (HSL / HSV)78% / 88%
Lightness (HSL)42%
Brightness or Value (HSV)74%
Luminance (Rec.601 / Rec.709)29% / 23%
Relative luminance (WCAG)0.0911
Red / Green / Blue131 / 23 / 189

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 84.2 / -17.8 · As background with white / black text: Lc -89.2 / 19.8

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: #8317bd;
  --color-brand-oklch: oklch(48.08% 0.2303 308.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(131 23 189 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8317bd] text-[#8317bd] border-[#8317bd]">