#A67EFF

A color in the Violet family

#a67eff is a color in the Violet family: RGB(166, 126, 255), HSL(259°, 100%, 75%), CMYK(35%, 51%, 0%, 0%). Closest named color: mediumpurple. Contrast is 2.98:1 on white and 7.05:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67eff
RGBrgb(166 126 255)
RGB (legacy)rgb(166, 126, 255)
RGB %rgb(65% 49% 100%)
HSLhsl(259 100% 75%)
HSV / HSBhsv(259, 51%, 100%)
HWBhwb(259 49% 0%)
CMYKcmyk(35%, 51%, 0%, 0%)
CIELAB (D50)lab(61.22 36.81 -59.7)
LCHlch(61.22 70.14 301.66)
OKLaboklab(0.6889 0.0794 -0.1668)
OKLCHoklch(0.6889 0.1848 295.44)
Decimal10911487

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6.8
Closest web-safe color#9966ff
Hue259°
Saturation (HSL / HSV)100% / 51%
Lightness (HSL)75%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)60% / 56%
Relative luminance (WCAG)0.3025
Red / Green / Blue166 / 126 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.98:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.05:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 56.1 / -45.6 · As background with white / black text: Lc -61.5 / 47.9

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: #a67eff;
  --color-brand-oklch: oklch(68.89% 0.1848 295.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 126 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67eff] text-[#a67eff] border-[#a67eff]">