#A67EF2

A color in the Violet family

#a67ef2 is a color in the Violet family: RGB(166, 126, 242), HSL(261°, 82%, 72%), CMYK(31%, 48%, 0%, 5%). Closest named color: mediumpurple. Contrast is 3.05:1 on white and 6.89:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67ef2
RGBrgb(166 126 242)
RGB (legacy)rgb(166, 126, 242)
RGB %rgb(65% 49% 95%)
HSLhsl(261 82% 72%)
HSV / HSBhsv(261, 48%, 95%)
HWBhwb(261 49% 5%)
CMYKcmyk(31%, 48%, 0%, 5%)
CIELAB (D50)lab(60.63 34.25 -53.51)
LCHlch(60.63 63.53 302.62)
OKLaboklab(0.6814 0.0782 -0.1491)
OKLCHoklch(0.6814 0.1684 297.68)
Decimal10911474

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.6
Closest web-safe color#9966ff
Hue261°
Saturation (HSL / HSV)82% / 48%
Lightness (HSL)72%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2944
Red / Green / Blue166 / 126 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.05:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.89: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 57.1 / -44.7 · As background with white / black text: Lc -62.5 / 46.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: #a67ef2;
  --color-brand-oklch: oklch(68.14% 0.1684 297.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 126 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67ef2] text-[#a67ef2] border-[#a67ef2]">