#8A67FE

A color in the Violet family

#8a67fe is a color in the Violet family: RGB(138, 103, 254), HSL(254°, 99%, 70%), CMYK(46%, 59%, 0%, 0%). Closest named color: mediumslateblue. Contrast is 3.85:1 on white and 5.45:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a67fe
RGBrgb(138 103 254)
RGB (legacy)rgb(138, 103, 254)
RGB %rgb(54% 40% 100%)
HSLhsl(254 99% 70%)
HSV / HSBhsv(254, 59%, 100%)
HWBhwb(254 40% 0%)
CMYKcmyk(46%, 59%, 0%, 0%)
CIELAB (D50)lab(53.37 41.62 -71.91)
LCHlch(53.37 83.08 300.06)
OKLaboklab(0.6268 0.0712 -0.2022)
OKLCHoklch(0.6268 0.2144 289.41)
Decimal9070590

Properties

Color ToneViolet
Closest named colormediumslateblue ΔE 3.3
Closest web-safe color#9966ff
Hue254°
Saturation (HSL / HSV)99% / 59%
Lightness (HSL)70%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)51% / 48%
Relative luminance (WCAG)0.2226
Red / Green / Blue138 / 103 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.85:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.45: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 65.6 / -36.1 · As background with white / black text: Lc -71.1 / 38.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: #8a67fe;
  --color-brand-oklch: oklch(62.68% 0.2144 289.41);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67fe] text-[#8a67fe] border-[#8a67fe]">