#8A67CE

A color in the Violet family

#8a67ce is a color in the Violet family: RGB(138, 103, 206), HSL(260°, 51%, 61%), CMYK(33%, 50%, 0%, 19%). Closest named color: mediumpurple. Contrast is 4.28:1 on white and 4.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67ce
RGBrgb(138 103 206)
RGB (legacy)rgb(138, 103, 206)
RGB %rgb(54% 40% 81%)
HSLhsl(260 51% 61%)
HSV / HSBhsv(260, 50%, 81%)
HWBhwb(260 40% 19%)
CMYKcmyk(33%, 50%, 0%, 19%)
CIELAB (D50)lab(50.83 31.36 -49.08)
LCHlch(50.83 58.24 302.57)
OKLaboklab(0.5954 0.0703 -0.137)
OKLCHoklch(0.5954 0.154 297.17)
Decimal9070542

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 3.2
Closest web-safe color#9966cc
Hue260°
Saturation (HSL / HSV)51% / 50%
Lightness (HSL)61%
Brightness or Value (HSV)81%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1956
Red / Green / Blue138 / 103 / 206

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.28:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.91: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.3 / -32.3 · As background with white / black text: Lc -74.8 / 34.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: #8a67ce;
  --color-brand-oklch: oklch(59.54% 0.154 297.17);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 206 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67ce] text-[#8a67ce] border-[#8a67ce]">