#8A67E6
A color in the Violet family
#8a67e6 is a color in the Violet family: RGB(138, 103, 230), HSL(257°, 72%, 65%), CMYK(40%, 55%, 0%, 10%). Closest named color: mediumslateblue. Contrast is 4.07:1 on white and 5.16:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #8a67e6 |
|---|---|
| RGB | rgb(138 103 230) |
| RGB (legacy) | rgb(138, 103, 230) |
| RGB % | rgb(54% 40% 90%) |
| HSL | hsl(257 72% 65%) |
| HSV / HSB | hsv(257, 55%, 90%) |
| HWB | hwb(257 40% 10%) |
| CMYK | cmyk(40%, 55%, 0%, 10%) |
| CIELAB (D50) | lab(52.03 36.37 -60.71) |
| LCH | lch(52.03 70.77 300.93) |
| OKLab | oklab(0.6104 0.0716 -0.1702) |
| OKLCH | oklch(0.6104 0.1847 292.81) |
| Decimal | 9070566 |
Properties
| Color Tone | Violet |
|---|---|
| Closest named color | mediumslateblue ΔE 2.7 |
| Closest web-safe color | #9966ff |
| Hue | 257° |
| Saturation (HSL / HSV) | 72% / 55% |
| Lightness (HSL) | 65% |
| Brightness or Value (HSV) | 90% |
| Luminance (Rec.601 / Rec.709) | 50% / 47% |
| Relative luminance (WCAG) | 0.2082 |
| Red / Green / Blue | 138 / 103 / 230 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
4.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.16: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.6 / -34.1 · As background with white / black text: Lc -73.1 / 36.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
Complementary
Split Complementary
Analogous
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: #8a67e6;
--color-brand-oklch: oklch(61.04% 0.1847 292.81);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 230 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67e6] text-[#8a67e6] border-[#8a67e6]">