#805FA2

A color in the Violet family

#805fa2 is a color in the Violet family: RGB(128, 95, 162), HSL(270°, 26%, 50%), CMYK(21%, 41%, 0%, 36%). Closest named color: slateblue. Contrast is 5.15:1 on white and 4.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#805fa2
RGBrgb(128 95 162)
RGB (legacy)rgb(128, 95, 162)
RGB %rgb(50% 37% 64%)
HSLhsl(270 26% 50%)
HSV / HSBhsv(270, 41%, 64%)
HWBhwb(270 37% 36%)
CMYKcmyk(21%, 41%, 0%, 36%)
CIELAB (D50)lab(45.9 24.08 -31.45)
LCHlch(45.9 39.61 307.43)
OKLaboklab(0.5467 0.0628 -0.0869)
OKLCHoklch(0.5467 0.1072 305.83)
Decimal8413090

Properties

Color ToneViolet
Closest named colorslateblue ΔE 8
Closest web-safe color#996699
Hue270°
Saturation (HSL / HSV)26% / 41%
Lightness (HSL)50%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)44% / 42%
Relative luminance (WCAG)0.1538
Red / Green / Blue128 / 95 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.15:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.08: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 75.4 / -26.3 · As background with white / black text: Lc -80.8 / 28.7

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: #805fa2;
  --color-brand-oklch: oklch(54.67% 0.1072 305.83);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(128 95 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#805fa2] text-[#805fa2] border-[#805fa2]">