#8A67CA

A color in the Violet family

#8a67ca is a color in the Violet family: RGB(138, 103, 202), HSL(261°, 48%, 60%), CMYK(32%, 49%, 0%, 21%). Closest named color: mediumpurple. Contrast is 4.31:1 on white and 4.87:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67ca
RGBrgb(138 103 202)
RGB (legacy)rgb(138, 103, 202)
RGB %rgb(54% 40% 79%)
HSLhsl(261 48% 60%)
HSV / HSBhsv(261, 49%, 79%)
HWBhwb(261 40% 21%)
CMYKcmyk(32%, 49%, 0%, 21%)
CIELAB (D50)lab(50.64 30.55 -47.1)
LCHlch(50.64 56.14 302.97)
OKLaboklab(0.593 0.0699 -0.1313)
OKLCHoklch(0.593 0.1488 298.04)
Decimal9070538

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 3.5
Closest web-safe color#9966cc
Hue261°
Saturation (HSL / HSV)48% / 49%
Lightness (HSL)60%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1937
Red / Green / Blue138 / 103 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.87: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.6 / -32 · As background with white / black text: Lc -75.1 / 34.5

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