#A67FD2

A color in the Violet family

#a67fd2 is a color in the Violet family: RGB(166, 127, 210), HSL(268°, 48%, 66%), CMYK(21%, 40%, 0%, 18%). Closest named color: mediumpurple. Contrast is 3.19:1 on white and 6.59:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a67fd2
RGBrgb(166 127 210)
RGB (legacy)rgb(166, 127, 210)
RGB %rgb(65% 50% 82%)
HSLhsl(268 48% 66%)
HSV / HSBhsv(268, 40%, 82%)
HWBhwb(268 50% 18%)
CMYKcmyk(21%, 40%, 0%, 18%)
CIELAB (D50)lab(59.53 27.75 -37.44)
LCHlch(59.53 46.6 306.54)
OKLaboklab(0.6663 0.072 -0.1034)
OKLCHoklch(0.6663 0.126 304.85)
Decimal10911698

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 5.5
Closest web-safe color#9966cc
Hue268°
Saturation (HSL / HSV)48% / 40%
Lightness (HSL)66%
Brightness or Value (HSV)82%
Luminance (Rec.601 / Rec.709)58% / 55%
Relative luminance (WCAG)0.2794
Red / Green / Blue166 / 127 / 210

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.59: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 58.9 / -42.8 · As background with white / black text: Lc -64.4 / 45.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: #a67fd2;
  --color-brand-oklch: oklch(66.63% 0.126 304.85);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 127 210 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67fd2] text-[#a67fd2] border-[#a67fd2]">