#A67DF3

A color in the Violet family

#a67df3 is a color in the Violet family: RGB(166, 125, 243), HSL(261°, 83%, 72%), CMYK(32%, 49%, 0%, 5%). Closest named color: mediumpurple. Contrast is 3.07:1 on white and 6.85:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67df3
RGBrgb(166 125 243)
RGB (legacy)rgb(166, 125, 243)
RGB %rgb(65% 49% 95%)
HSLhsl(261 83% 72%)
HSV / HSBhsv(261, 49%, 95%)
HWBhwb(261 49% 5%)
CMYKcmyk(32%, 49%, 0%, 5%)
CIELAB (D50)lab(60.44 34.97 -54.35)
LCHlch(60.44 64.63 302.76)
OKLaboklab(0.6803 0.0796 -0.1516)
OKLCHoklch(0.6803 0.1712 297.71)
Decimal10911219

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.5
Closest web-safe color#9966ff
Hue261°
Saturation (HSL / HSV)83% / 49%
Lightness (HSL)72%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2925
Red / Green / Blue166 / 125 / 243

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.85: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.3 / -44.4 · As background with white / black text: Lc -62.7 / 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: #a67df3;
  --color-brand-oklch: oklch(68.03% 0.1712 297.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 125 243 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67df3] text-[#a67df3] border-[#a67df3]">