#8A67C7

A color in the Violet family

#8a67c7 is a color in the Violet family: RGB(138, 103, 199), HSL(262°, 46%, 59%), CMYK(31%, 48%, 0%, 22%). Closest named color: mediumpurple. Contrast is 4.33:1 on white and 4.85:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67c7
RGBrgb(138 103 199)
RGB (legacy)rgb(138, 103, 199)
RGB %rgb(54% 40% 78%)
HSLhsl(262 46% 59%)
HSV / HSBhsv(262, 48%, 78%)
HWBhwb(262 40% 22%)
CMYKcmyk(31%, 48%, 0%, 22%)
CIELAB (D50)lab(50.5 29.95 -45.61)
LCHlch(50.5 54.56 303.29)
OKLaboklab(0.5913 0.0696 -0.1271)
OKLCHoklch(0.5913 0.1449 298.72)
Decimal9070535

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 3.8
Closest web-safe color#9966cc
Hue262°
Saturation (HSL / HSV)46% / 48%
Lightness (HSL)59%
Brightness or Value (HSV)78%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1923
Red / Green / Blue138 / 103 / 199

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.85: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 69.8 / -31.8 · As background with white / black text: Lc -75.3 / 34.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: #8a67c7;
  --color-brand-oklch: oklch(59.13% 0.1449 298.72);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 199 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67c7] text-[#8a67c7] border-[#8a67c7]">