#8A67E9

A color in the Violet family

#8a67e9 is a color in the Violet family: RGB(138, 103, 233), HSL(256°, 75%, 66%), CMYK(41%, 56%, 0%, 9%). Closest named color: mediumslateblue. Contrast is 4.04:1 on white and 5.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67e9
RGBrgb(138 103 233)
RGB (legacy)rgb(138, 103, 233)
RGB %rgb(54% 40% 91%)
HSLhsl(256 75% 66%)
HSV / HSBhsv(256, 56%, 91%)
HWBhwb(256 40% 9%)
CMYKcmyk(41%, 56%, 0%, 9%)
CIELAB (D50)lab(52.19 37.02 -62.13)
LCHlch(52.19 72.32 300.79)
OKLaboklab(0.6124 0.0716 -0.1743)
OKLCHoklch(0.6124 0.1884 292.34)
Decimal9070569

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 2.5
Closest web-safe color#9966ff
Hue256°
Saturation (HSL / HSV)75% / 56%
Lightness (HSL)66%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)50% / 47%
Relative luminance (WCAG)0.2099
Red / Green / Blue138 / 103 / 233

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.04:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.20: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 67.3 / -34.3 · As background with white / black text: Lc -72.8 / 36.8

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