#A67FFE

A color in the Violet family

#a67ffe is a color in the Violet family: RGB(166, 127, 254), HSL(258°, 98%, 75%), CMYK(35%, 50%, 0%, 0%). Closest named color: mediumpurple. Contrast is 2.96:1 on white and 7.09:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a67ffe
RGBrgb(166 127 254)
RGB (legacy)rgb(166, 127, 254)
RGB %rgb(65% 50% 100%)
HSLhsl(258 98% 75%)
HSV / HSBhsv(258, 50%, 100%)
HWBhwb(258 50% 0%)
CMYKcmyk(35%, 50%, 0%, 0%)
CIELAB (D50)lab(61.4 36.08 -58.87)
LCHlch(61.4 69.05 301.51)
OKLaboklab(0.69 0.078 -0.1645)
OKLCHoklch(0.69 0.182 295.39)
Decimal10911742

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6.8
Closest web-safe color#9966ff
Hue258°
Saturation (HSL / HSV)98% / 50%
Lightness (HSL)75%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)60% / 57%
Relative luminance (WCAG)0.3044
Red / Green / Blue166 / 127 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.96:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.09:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 55.9 / -45.8 · As background with white / black text: Lc -61.3 / 48.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: #a67ffe;
  --color-brand-oklch: oklch(69% 0.182 295.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(166 127 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a67ffe] text-[#a67ffe] border-[#a67ffe]">