#8A67C3

A color in the Violet family

#8a67c3 is a color in the Violet family: RGB(138, 103, 195), HSL(263°, 43%, 58%), CMYK(29%, 47%, 0%, 24%). Closest named color: mediumpurple. Contrast is 4.37:1 on white and 4.81:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67c3
RGBrgb(138 103 195)
RGB (legacy)rgb(138, 103, 195)
RGB %rgb(54% 40% 76%)
HSLhsl(263 43% 58%)
HSV / HSBhsv(263, 47%, 76%)
HWBhwb(263 40% 24%)
CMYKcmyk(29%, 47%, 0%, 24%)
CIELAB (D50)lab(50.32 29.16 -43.61)
LCHlch(50.32 52.46 303.77)
OKLaboklab(0.589 0.0691 -0.1214)
OKLCHoklch(0.589 0.1397 299.67)
Decimal9070531

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.3
Closest web-safe color#9966cc
Hue263°
Saturation (HSL / HSV)43% / 47%
Lightness (HSL)58%
Brightness or Value (HSV)76%
Luminance (Rec.601 / Rec.709)49% / 46%
Relative luminance (WCAG)0.1904
Red / Green / Blue138 / 103 / 195

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.37:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.81: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 70.1 / -31.6 · As background with white / black text: Lc -75.6 / 34

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