#A76DFD

A color in the Violet family

#a76dfd is a color in the Violet family: RGB(167, 109, 253), HSL(264°, 97%, 71%), CMYK(34%, 57%, 0%, 1%). Closest named color: mediumpurple. Contrast is 3.36:1 on white and 6.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a76dfd
RGBrgb(167 109 253)
RGB (legacy)rgb(167, 109, 253)
RGB %rgb(65% 43% 99%)
HSLhsl(264 97% 71%)
HSV / HSBhsv(264, 57%, 99%)
HWBhwb(264 43% 1%)
CMYKcmyk(34%, 57%, 0%, 1%)
CIELAB (D50)lab(57.57 45.53 -64.41)
LCHlch(57.57 78.88 305.25)
OKLaboklab(0.6622 0.1011 -0.1805)
OKLCHoklch(0.6622 0.2069 299.26)
Decimal10972669

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 6.1
Closest web-safe color#9966ff
Hue264°
Saturation (HSL / HSV)97% / 57%
Lightness (HSL)71%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)56% / 52%
Relative luminance (WCAG)0.2624
Red / Green / Blue167 / 109 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.25: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.7 / -41 · As background with white / black text: Lc -66.1 / 43.4

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: #a76dfd;
  --color-brand-oklch: oklch(66.22% 0.2069 299.26);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 109 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a76dfd] text-[#a76dfd] border-[#a76dfd]">