#8165AC

A color in the Violet family

#8165ac is a color in the Violet family: RGB(129, 101, 172), HSL(264°, 30%, 54%), CMYK(25%, 41%, 0%, 33%). Closest named color: slateblue. Contrast is 4.78:1 on white and 4.39:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8165ac
RGBrgb(129 101 172)
RGB (legacy)rgb(129, 101, 172)
RGB %rgb(51% 40% 67%)
HSLhsl(264 30% 54%)
HSV / HSBhsv(264, 41%, 67%)
HWBhwb(264 40% 33%)
CMYKcmyk(25%, 41%, 0%, 33%)
CIELAB (D50)lab(47.9 22.93 -34.19)
LCHlch(47.9 41.17 303.85)
OKLaboklab(0.564 0.0571 -0.0946)
OKLCHoklch(0.564 0.1105 301.11)
Decimal8480172

Properties

Color ToneViolet
Closest named colorslateblue ΔE 7.4
Closest web-safe color#996699
Hue264°
Saturation (HSL / HSV)30% / 41%
Lightness (HSL)54%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)46% / 44%
Relative luminance (WCAG)0.1695
Red / Green / Blue129 / 101 / 172

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.78:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.39: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 73.1 / -28.6 · As background with white / black text: Lc -78.5 / 31

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: #8165ac;
  --color-brand-oklch: oklch(56.4% 0.1105 301.11);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(129 101 172 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8165ac] text-[#8165ac] border-[#8165ac]">