#A67BFB

A color in the Violet family

#a67bfb is a color in the Violet family: RGB(166, 123, 251), HSL(260°, 94%, 73%), CMYK(34%, 51%, 0%, 2%). 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#a67bfb
RGBrgb(166 123 251)
RGB (legacy)rgb(166, 123, 251)
RGB %rgb(65% 48% 98%)
HSLhsl(260 94% 73%)
HSV / HSBhsv(260, 51%, 98%)
HWBhwb(260 48% 2%)
CMYKcmyk(34%, 51%, 0%, 2%)
CIELAB (D50)lab(60.37 37.6 -58.87)
LCHlch(60.37 69.85 302.57)
OKLaboklab(0.6817 0.0828 -0.1645)
OKLCHoklch(0.6817 0.1842 296.72)
Decimal10910715

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6.1
Closest web-safe color#9966ff
Hue260°
Saturation (HSL / HSV)94% / 51%
Lightness (HSL)73%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)59% / 55%
Relative luminance (WCAG)0.2924
Red / Green / Blue166 / 123 / 251

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.5 · As background with white / black text: Lc -62.7 / 46.8

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