#A67FE2

A color in the Violet family

#a67fe2 is a color in the Violet family: RGB(166, 127, 226), HSL(264°, 63%, 69%), CMYK(27%, 44%, 0%, 11%). Closest named color: mediumpurple. Contrast is 3.11:1 on white and 6.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67fe2
RGBrgb(166 127 226)
RGB (legacy)rgb(166, 127, 226)
RGB %rgb(65% 50% 89%)
HSLhsl(264 63% 69%)
HSV / HSBhsv(264, 44%, 89%)
HWBhwb(264 50% 11%)
CMYKcmyk(27%, 44%, 0%, 11%)
CIELAB (D50)lab(60.17 30.66 -45.38)
LCHlch(60.17 54.77 304.05)
OKLaboklab(0.6744 0.0748 -0.1259)
OKLCHoklch(0.6744 0.1465 300.71)
Decimal10911714

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5
Closest web-safe color#9966cc
Hue264°
Saturation (HSL / HSV)63% / 44%
Lightness (HSL)69%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)59% / 56%
Relative luminance (WCAG)0.2878
Red / Green / Blue166 / 127 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.11:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.76: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.9 / -43.8 · As background with white / black text: Lc -63.3 / 46.1

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: #a67fe2;
  --color-brand-oklch: oklch(67.44% 0.1465 300.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 127 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67fe2] text-[#a67fe2] border-[#a67fe2]">