#8A67D6

A color in the Violet family

#8a67d6 is a color in the Violet family: RGB(138, 103, 214), HSL(259°, 58%, 62%), CMYK(36%, 52%, 0%, 16%). Closest named color: mediumpurple. Contrast is 4.21:1 on white and 4.99:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67d6
RGBrgb(138 103 214)
RGB (legacy)rgb(138, 103, 214)
RGB %rgb(54% 40% 84%)
HSLhsl(259 58% 62%)
HSV / HSBhsv(259, 52%, 84%)
HWBhwb(259 40% 16%)
CMYKcmyk(36%, 52%, 0%, 16%)
CIELAB (D50)lab(51.21 33 -53.01)
LCHlch(51.21 62.44 301.9)
OKLaboklab(0.6002 0.0709 -0.1482)
OKLCHoklch(0.6002 0.1643 295.58)
Decimal9070550

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 2.8
Closest web-safe color#9966cc
Hue259°
Saturation (HSL / HSV)58% / 52%
Lightness (HSL)62%
Brightness or Value (HSV)84%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1996
Red / Green / Blue138 / 103 / 214

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.99: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 68.8 / -32.9 · As background with white / black text: Lc -74.3 / 35.3

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: #8a67d6;
  --color-brand-oklch: oklch(60.02% 0.1643 295.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 214 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67d6] text-[#8a67d6] border-[#8a67d6]">