#805FA7

A color in the Violet family

#805fa7 is a color in the Violet family: RGB(128, 95, 167), HSL(267°, 29%, 51%), CMYK(23%, 43%, 0%, 35%). Closest named color: slateblue. Contrast is 5.11:1 on white and 4.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#805fa7
RGBrgb(128 95 167)
RGB (legacy)rgb(128, 95, 167)
RGB %rgb(50% 37% 65%)
HSLhsl(267 29% 51%)
HSV / HSBhsv(267, 43%, 65%)
HWBhwb(267 37% 35%)
CMYKcmyk(23%, 43%, 0%, 35%)
CIELAB (D50)lab(46.11 25.01 -34.07)
LCHlch(46.11 42.27 306.29)
OKLaboklab(0.5493 0.0637 -0.0944)
OKLCHoklch(0.5493 0.1139 304.03)
Decimal8413095

Properties

Color ToneViolet
Closest named colorslateblue ΔE 7.3
Closest web-safe color#996699
Hue267°
Saturation (HSL / HSV)29% / 43%
Lightness (HSL)51%
Brightness or Value (HSV)65%
Luminance (Rec.601 / Rec.709)44% / 42%
Relative luminance (WCAG)0.1556
Red / Green / Blue128 / 95 / 167

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.11: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.1 / -26.6 · As background with white / black text: Lc -80.5 / 29

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