#A67BCB

A color in the Purple, Crimson, Magenta family

#a67bcb is a color in the Purple, Crimson, Magenta family: RGB(166, 123, 203), HSL(272°, 43%, 64%), CMYK(18%, 39%, 0%, 20%). Closest named color: mediumpurple. Contrast is 3.32:1 on white and 6.32:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67bcb
RGBrgb(166 123 203)
RGB (legacy)rgb(166, 123, 203)
RGB %rgb(65% 48% 80%)
HSLhsl(272 43% 64%)
HSV / HSBhsv(272, 39%, 80%)
HWBhwb(272 48% 20%)
CMYKcmyk(18%, 39%, 0%, 20%)
CIELAB (D50)lab(58.32 28.67 -35.38)
LCHlch(58.32 45.54 309.02)
OKLaboklab(0.6559 0.0764 -0.0976)
OKLCHoklch(0.6559 0.1239 308.03)
Decimal10910667

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumpurple ΔE 5.3
Closest web-safe color#9966cc
Hue272°
Saturation (HSL / HSV)43% / 39%
Lightness (HSL)64%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)57% / 54%
Relative luminance (WCAG)0.2658
Red / Green / Blue166 / 123 / 203

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.32: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 60.5 / -41.2 · As background with white / black text: Lc -66 / 43.5

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: #a67bcb;
  --color-brand-oklch: oklch(65.59% 0.1239 308.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 123 203 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67bcb] text-[#a67bcb] border-[#a67bcb]">