#8A67DA

A color in the Violet family

#8a67da is a color in the Violet family: RGB(138, 103, 218), HSL(258°, 61%, 63%), CMYK(37%, 53%, 0%, 15%). Closest named color: mediumpurple. Contrast is 4.17:1 on white and 5.03:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67da
RGBrgb(138 103 218)
RGB (legacy)rgb(138, 103, 218)
RGB %rgb(54% 40% 85%)
HSLhsl(258 61% 63%)
HSV / HSBhsv(258, 53%, 85%)
HWBhwb(258 40% 15%)
CMYKcmyk(37%, 53%, 0%, 15%)
CIELAB (D50)lab(51.41 33.83 -54.95)
LCHlch(51.41 64.53 301.62)
OKLaboklab(0.6027 0.0712 -0.1538)
OKLCHoklch(0.6027 0.1694 294.84)
Decimal9070554

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 2.7
Closest web-safe color#9966cc
Hue258°
Saturation (HSL / HSV)61% / 53%
Lightness (HSL)63%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)50% / 47%
Relative luminance (WCAG)0.2017
Red / Green / Blue138 / 103 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.17:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.03: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.5 / -33.2 · As background with white / black text: Lc -74 / 35.6

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