#8A67F6

A color in the Violet family

#8a67f6 is a color in the Violet family: RGB(138, 103, 246), HSL(255°, 89%, 68%), CMYK(44%, 58%, 0%, 4%). Closest named color: mediumslateblue. Contrast is 3.92:1 on white and 5.35:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67f6
RGBrgb(138 103 246)
RGB (legacy)rgb(138, 103, 246)
RGB %rgb(54% 40% 96%)
HSLhsl(255 89% 68%)
HSV / HSBhsv(255, 58%, 96%)
HWBhwb(255 40% 4%)
CMYKcmyk(44%, 58%, 0%, 4%)
CIELAB (D50)lab(52.91 39.85 -68.22)
LCHlch(52.91 79.01 300.29)
OKLaboklab(0.6212 0.0715 -0.1917)
OKLCHoklch(0.6212 0.2046 290.46)
Decimal9070582

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 2.6
Closest web-safe color#9966ff
Hue255°
Saturation (HSL / HSV)89% / 58%
Lightness (HSL)68%
Brightness or Value (HSV)96%
Luminance (Rec.601 / Rec.709)51% / 47%
Relative luminance (WCAG)0.2176
Red / Green / Blue138 / 103 / 246

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.92:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.35: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 66.3 / -35.4 · As background with white / black text: Lc -71.8 / 37.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: #8a67f6;
  --color-brand-oklch: oklch(62.12% 0.2046 290.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 246 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67f6] text-[#8a67f6] border-[#8a67f6]">