#A67DF2

A color in the Violet family

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

Color Codes

HEX#a67df2
RGBrgb(166 125 242)
RGB (legacy)rgb(166, 125, 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.4 34.78 -53.87)
LCHlch(60.4 64.12 302.85)
OKLaboklab(0.6798 0.0795 -0.1502)
OKLCHoklch(0.6798 0.1699 297.9)
Decimal10911218

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.4
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.2919
Red / Green / Blue166 / 125 / 242

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.07:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.84: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.4 / -44.4 · As background with white / black text: Lc -62.8 / 46.7

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: #a67df2;
  --color-brand-oklch: oklch(67.98% 0.1699 297.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 125 242 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67df2] text-[#a67df2] border-[#a67df2]">