#8A67DB

A color in the Violet family

#8a67db is a color in the Violet family: RGB(138, 103, 219), HSL(258°, 62%, 63%), CMYK(37%, 53%, 0%, 14%). Closest named color: mediumpurple. Contrast is 4.16:1 on white and 5.04:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67db
RGBrgb(138 103 219)
RGB (legacy)rgb(138, 103, 219)
RGB %rgb(54% 40% 86%)
HSLhsl(258 62% 63%)
HSV / HSBhsv(258, 53%, 86%)
HWBhwb(258 40% 14%)
CMYKcmyk(37%, 53%, 0%, 14%)
CIELAB (D50)lab(51.46 34.04 -55.43)
LCHlch(51.46 65.05 301.55)
OKLaboklab(0.6034 0.0712 -0.1551)
OKLCHoklch(0.6034 0.1707 294.66)
Decimal9070555

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.04: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.4 / -33.3 · As background with white / black text: Lc -73.9 / 35.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: #8a67db;
  --color-brand-oklch: oklch(60.34% 0.1707 294.66);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 219 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67db] text-[#8a67db] border-[#8a67db]">