#8A67BB

A color in the Violet family

#8a67bb is a color in the Violet family: RGB(138, 103, 187), HSL(265°, 38%, 57%), CMYK(26%, 45%, 0%, 27%). Closest named color: mediumpurple. Contrast is 4.43:1 on white and 4.74:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67bb
RGBrgb(138 103 187)
RGB (legacy)rgb(138, 103, 187)
RGB %rgb(54% 40% 73%)
HSLhsl(265 38% 57%)
HSV / HSBhsv(265, 45%, 73%)
HWBhwb(265 40% 27%)
CMYKcmyk(26%, 45%, 0%, 27%)
CIELAB (D50)lab(49.97 27.61 -39.56)
LCHlch(49.97 48.24 304.9)
OKLaboklab(0.5845 0.068 -0.1098)
OKLCHoklch(0.5845 0.1292 301.77)
Decimal9070523

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.3
Closest web-safe color#9966cc
Hue265°
Saturation (HSL / HSV)38% / 45%
Lightness (HSL)57%
Brightness or Value (HSV)73%
Luminance (Rec.601 / Rec.709)48% / 46%
Relative luminance (WCAG)0.1869
Red / Green / Blue138 / 103 / 187

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.74: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.6 / -31.1 · As background with white / black text: Lc -76.1 / 33.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: #8a67bb;
  --color-brand-oklch: oklch(58.45% 0.1292 301.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 187 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67bb] text-[#8a67bb] border-[#8a67bb]">